Tagging resources
How to tag a resource via API
Last updated
How to tag a resource via API
Last updated
can be tagged using one or more existing . To do that, you need to update the resource setting the relationship with the desired tag(s).
Updating resourcesA maximum of 10 tags is allowed for each single resource object.
The following request tags the resource identified by the "xYZkjABcde" ID with the two tags identified by the "geJmexflJQ" and "mWJAPvfBaV" IDs:
To remove one or more tags from a resource you need to update the resource setting the relationship with the updated list of tags. To remove all the tags from a resource, just set the tags relationship as an empty array.
The following request removes all the tags associated with the resource identified by the "xYZkjABcde" ID:
automatically removes any existing association.