Adding a Tag to a Single Resource
Add one or more tags to a resource in Oracle Cloud Infrastructure to help you organize and list resources based on your business needs.
This page describes adding tags to an existing resource. You can also add tags to a resource when you create it.
To apply a defined tag to 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.
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 thedefinedTags
orfreeformTags
attribute and their values.For information about using the API and signing requests, see REST API documentation and Security Credentials.