Update a namespace by patch. Deactivate and activate a namespace by changing active attribute

PATCH {{baseUrl}}/namespaces/:namespaceId

Update/Deactivate/Activate a namespace by patch

Request Body

{"active"=>true, "display_name"=>"CCM Namespace", "description"=>"Namespace for CCM"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"etag":-66742879,"is_system":false,"is_default":false,"active":true,"created_by":"urn:uuid:419047b1-a179-a043-dea7-50f4234d4d04","create_time":"1990-12-20T19:32:34.328Z","update_time":"1944-02-26T01:39:53.992Z","updated_by":"urn:uuid:b7986af3-d695-7fa7-ae15-d2f86e087545","display_name":"ECM Namespace","prefix":"ecm","description":"Namespace for ECM","name":"ecm_namespace","_links":{"self":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"edit":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}}