Deleting Tags from a BMS
Function
- This API is used to delete tags from a specified BMS in batches.
- TMS uses this API to manage BMS tags.
This is an idempotent API. When you delete a tag but the tag does not exist, a successful result will be returned.
Restrictions and Limitations
A BMS can have a maximum of 20 tags.
Request Parameters
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
tags |
List <resource_tag> |
Yes |
Specifies the tag list. For details, see Table 2. |
action |
String |
Yes |
Specifies the operation (only lowercase letters are supported). For example, delete indicates the deletion operation. |
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
key |
String |
Yes |
Specifies the tag key.
|
value |
String |
No |
Specifies the tag value.
|
Example Request
{ "action": "delete", "tags": [ { "key": "key1", "value": "value1" }, { "key": "key2", "value": "value3" } ] }
Response Message
None
Returned Values
- Normal
Returned Values
Description
204
No Content
- Abnormal
Returned Values
Description
400
Invalid tag.
401
Authentication failed.
403
Insufficient permission.
404
The requested resource was not found.
500
A system exception occurred.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot