UpdateTagNamespace

PUT {{baseUrl}}/tagNamespaces/:tagNamespaceId

Updates the the specified tag namespace. You can't update the namespace name.

Updating isRetired to 'true' retires the namespace and all the tag definitions in the namespace. Reactivating a namespace (changing isRetired from 'true' to 'false') does not reactivate tag definitions. To reactivate the tag definitions, you must reactivate each one individually after you reactivate the namespace, using UpdateTag. For more information about retiring tag namespaces, see Retiring Key Definitions and Namespace Definitions.

You can't add a namespace with the same name as a retired namespace in the same tenancy.

Request Body

{"description"=>"consequat dolor ea", "isRetired"=>false}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations

RESPONSES

status: OK

{"id":"Duis","compartmentId":"ut Excepteur in","name":"aliqua veniam sint","description":"commodo do sint ex","isRetired":false,"timeCreated":"1995-10-08T17:32:55.258Z","definedTags":{},"freeformTags":{},"lifecycleState":"DELETED"}