OCISDK/OCISDK/Identity/identityClient.cs
/// <summary>
/// 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 indvidually 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.
///
/// </summary>
/// <param name="updateRequest"></param>
/// <returns></returns>
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 indvidually 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.
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 indvidually 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 .
public UpdateTagNamespaceResponse UpdateTagNamespace(UpdateTagNamespaceRequest updateRequest)
        {
            var uri = new Uri($"{GetEndPoint(IdentityServices.TagNamespaces, this.Region)}/{updateRequest.TagNamespaceId}");
            using (var webResponse = this.RestClient.Put(uri, updateRequest.UpdateTagNamespaceDetails))
            using (var stream = webResponse.GetResponseStream())
            using (var reader = new StreamReader(stream))
            {
                var response = reader.ReadToEnd();
                return new UpdateTagNamespaceResponse()
                {
                    TagNamespace = JsonSerializer.Deserialize<TagNamespace>(response),
                    OpcRequestId = webResponse.Headers.Get("opc-request-id")
                };
            }
        }
public UpdateTagNamespaceResponse UpdateTagNamespace ( UpdateTagNamespaceRequest updateRequest ) { var uri = new Uri ( $" { GetEndPoint ( IdentityServices . TagNamespaces , this . Region ) } / { updateRequest . TagNamespaceId } " ) ; using ( var webResponse = this . RestClient . Put ( uri , updateRequest . UpdateTagNamespaceDetails ) ) using ( var stream = webResponse . GetResponseStream ( ) ) using ( var reader = new StreamReader ( stream ) ) { var response = reader . ReadToEnd ( ) ; return new UpdateTagNamespaceResponse ( ) { TagNamespace = JsonSerializer . Deserialize < TagNamespace > ( response ) , OpcRequestId = webResponse . Headers . Get ( " " ) } ; } }
Updates the the specified tag namespace.
Updates the the specified tag namespace .
None
updateRequest
UpdateTagNamespaceRequest
None