Deleting a Tag Namespace

Delete a retired tag namespace.

When you delete a tag namespace, the tag key definitions associated with the tag namespace are also deleted. The tag key definitions are removed from any resources that have the tags.

    1. On the Tag namespaces list page, find the namespace that you want to work with. If you need help finding the list page, see Listing Tag Namespaces.
    2. From the Actions menu for the tag namespace, select Delete tag namespace.
      Important

      The Delete tag namespace action is enabled only for a retired tag namespace.
    3. In the Delete tag namespace dialog box, select Delete.
  • Use the delete command and required parameters to delete a specified tag namespace:

    oci iam tag-namespace delete [OPTIONS]

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

  • To delete the tag namespace, you must first delete all of the tag key definitions contained in the tag namespace. Use DeleteTagNamespace operation.

    To delete a Tag Namespace and all if its tag key definitions, you must first retire the tag namespace. Use CascadeDeleteTagNamespace operation.