This API is used to batch add tags for the specified EVS disk.
None
Parameter |
Type |
Mandatory |
Description |
|---|---|---|---|
tags |
Array of objects |
Yes |
Specifies the tag list. For details, see Parameters in the tag field. |
action |
String |
Yes |
Specifies the operation to perform. The value can be create or delete. create: specifies to add tags. |
Parameter |
Type |
Mandatory |
Description |
|---|---|---|---|
key |
String |
Yes |
Specifies the tag key.
|
value |
String |
Yes |
Specifies the tag value.
|
{
"action": "create",
"tags": [
{
"key": "key1",
"value": "value1"
},
{
"key": "key2",
"value": "value3"
}
]
}
None
For details, see Error Codes.