Adding or Deleting Tags in Batches
Function
This API is used to add or delete tags in batches for a DCS instance.
URI
POST /v2/{project_id}/dcs/{instance_id}/tags/action
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. |
instance_id |
Yes |
String |
Instance ID. |
Request
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
action |
Yes |
String |
Operation to be performed. The value can be create or delete only. |
tags |
No |
Array of ResourceTag Objects |
List of tags. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
key |
Yes |
String |
Tag key, which:
|
value |
No |
String |
Tag value, which:
|
Response
None
Example Request
POST https://{dcs_endpoint}/v2/7dddae81f0e34f62adb9618bc8c8b1fe/dcs/01928d55-7020-4500-9c29-774caabe4bc4/tags/action
Example Response
None
Status Code
Status Code |
Description |
---|---|
204 |
Tags added/deleted successfully. |
Error Code
See Error Codes.
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