Batch Adding or Removing Tags of a Backup Resource

Function

This API is used to add or remove tags of a specific resource in batches.

TMS may use this API to manage service resource tags.

A resource can have up to 10 tags.

The API is idempotent.

If there are duplicate keys in the request body when you add tags, an error is reported.

If the key of the to-be-created tag is the same as that of an existing tag, the value of the existing tag will be overwritten.

When deleting tags, you can upload duplicate keys.

When tags are being deleted and some tags do not exist, the operation is considered successful by default, and the character set of the tags will not be checked upon deletion. A key and a value can respectively consist of up to 127 and 255 characters. The tag structure cannot be missing, and the key cannot be left blank or an empty string.

URI

Request

Response

None

Status Codes

Error Codes

For details, see Error Codes.