Batch Deleting Tags for the Specified EVS Disk
Function
This API is used to batch delete tags for the specified EVS disk.
Constraints
None
URI
- URI format
- Parameter description
Parameter
Mandatory
Description
project_id
Yes
Specifies the project ID.
For details about how to obtain the project ID, see Obtaining a Project ID.
volume_id
Yes
Specifies the disk ID.
Request
- Parameter description
Parameter
Type
Mandatory
Description
tags
List<resource_tag>
Yes
Specifies the tag list. For details, see Parameters in the tags field.
action
String
Yes
Specifies the operation to perform. The value can be create or delete.
delete: specifies to delete tags.
- Parameters in the tags field
Parameter
Type
Mandatory
Description
key
String
Yes
Specifies the tag key.
value
String
No
Specifies the tag value.
- It can contain up to 43 Unicode characters.
- It can be an empty string. The spaces before and after the character string are discarded.
- It cannot contain the following characters:
- Non-printable ASCII characters (0-31).
- Special characters, including asterisks (*), left angle brackets (<), right angle brackets (>), backslashes (\), equal signs (=), commas (,), vertical bars (|), and slashes (/).
- Example request
{ "action": "delete", "tags": [ { "key": "key1" }, { "key": "key2" } ] }
Response
None
Error Codes
For details, see Error Codes.
Last Article: Batch Adding Tags for the Specified EVS Disk
Next Article: Querying Tags of an EVS Disk
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.