Skip to main content

Update Namespace

Update Namespace

Path Parameters
    id string required
Request Body required
    namespace object
    id string
    name string
    state string
    metadata object
    createdAt date-time

    Creation time of the namespace

    updatedAt date-time

    Last update time of the namespace

Responses

A successful response.


Schema

    object

PUT /v1beta1/namespaces/:id

Authorization

name: X-Auth-Emailtype: apiKeydescription: Email address of the userin: header

Request

Base URL
http://127.0.0.1:7400
apiKey
id — path required
Body required
{
"namespace": {
"id": "string",
"name": "string",
"state": "string",
"metadata": {},
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z"
}
}
curl / cURL
curl -L -X PUT 'http://127.0.0.1:7400/v1beta1/namespaces/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>' \
--data-raw '{
"namespace": {
"id": "string",
"name": "string",
"state": "string",
"metadata": {},
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z"
}
}'