Tagging When Updating a Topic

Add metadata to a topic in Notifications when you update it. This metadata associates keys and values with the topic.

    1. Open the navigation menu and click Developer Services. Under Application Integration, click Notifications.
    2. On the Topics page, select the compartment that contains the topic that you want.
    3. Click the name of the topic that you want.
      The Topic Details page opens.
    4. To add a tag, click Add tags, and enter the tag namespace, key, and value.
    5. To view existing tags, click the Tags tab and then click Defined tags or Free-form tags.
    6. To edit an existing tag, click the edit icon (Pencil icon), update the value in the Edit tag dialog box, and then click Save.
    7. To remove a tag, click the edit icon (Pencil icon) and then click Remove tag.
  • Use the oci ons topic update command and required parameters to tag a topic when updating it:

    oci ons topic update [OPTIONS] [...] [--defined-tags | --freeform-tags] tags

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference for Notifications.

  • Run the UpdateTopic operation to tag a topic when you update it. Include the definedTags and freeformTags attributes and their values.