Deleting a Resource Tag
Function
Delete a resource tag.
The API is idempotent.
When you delete a tag that does not exist, the system reports that the tag does not exist.
URI
DELETE /v2/{project_id}/{resource_type}/{resource_id}/tags/{key}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. You can obtain it in Obtaining a Project ID. |
resource_type |
Yes |
String |
Resource type.
|
resource_id |
Yes |
String |
Resource ID |
key |
Yes |
String |
Tag key, which cannot be left blank or be an empty string |
Request
- Example request
Response
None
Returned Value
If a 2xx status code is returned, for example, 200, 202, or 204, the request is successful.
For details, see Status Code.
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