Namespace
Update namespace
Changed onUpdate the namespace by its organization-scoped ref. Slug cannot be patched.
patch/v1/organizations/{organizationRef}/namespaces/{namespaceRef}
Request
- Base URL: https://example.com/api
- URL: https://example.com/api/v1/organizations/{organizationRef}/namespaces/{namespaceRef}
- Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token; client credentials, token URL /oauth/token; password, token URL /oauth/token, scopes: namespace)
Request body
Example request
{
"name": "Engineering",
"logo": "https://example.com/static/logo.png",
"description": "Engineering team namespace"
}Response
OK
Example response
{
"id": "9bsv0s46s6s002p9ltq0",
"slug": "platform",
"name": "Engineering",
"logo": "https://example.com/static/logo.png",
"description": "Engineering team namespace",
"project_count": 4,
"document_count": 8
}Changes
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info