Skip to content

put_api_management_v1_workspaces_slug_

PUT
/api/management/v1/workspaces/{slug}
curl --request PUT \
--url https://example.com/api/management/v1/workspaces/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example" }'

Rename workspace through the authenticated management service.

slug
required
string

Workspace management slug

Media typeapplication/json
object
name
required
string

Example generated

{
"name": "example"
}

OK

Media typeapplication/json
object
changed
required
boolean
id
required
string format: uuid
key
required
string
resource_type
required
string
status
required
string

Example generated

{
"changed": true,
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"key": "example",
"resource_type": "example",
"status": "example"
}