Updating a Tag for a Single Resource

Update a tag that has been applied to an existing resource in Oracle Cloud Infrastructure. When you update an existing tag applied to a resource, you can change only the tag’s value.

To update a defined tag for a resource, you must have permission to use the namespace. See Required Permissions for Working with Defined Tags. For more information about how tagging works and tagging concepts, see Overview of Tagging.

    1. In the Oracle Cloud Console, go to the details page of the resource that you want to update a tag for. For example, to update a tag for a Compute instance:
      1. Open the navigation menu  and select Compute. Under Compute, select Instances. All instances in the selected compartment are displayed in a table. To view the instances in a different compartment, use the Compartment filter to switch compartments.
      2. Select the instance that you want to work with to open its details page.
    2. On the details page, select the Tags tab.

      The list of tags applied to the resource is displayed.

    3. Perform one of the following actions depending on the option that you see:
      • From the Actions menu (Actions Menu) for the tag that you want to update, select Edit.
      • Select the edit icon next to the tag name.
    4. Enter or select a new value.
    5. Select Save.
  • For most resources, use the resource's update command with the --defined-tags or --freeform-tags option.

    See Get Started with the Command Line Interface for more information.

  • For most resources, use the resource's update operation with the definedTags or freeformTags attribute and their values.

    For information about using the API and signing requests, see REST API documentation and Security Credentials.