Deleting a Resource Tag
Function
This API is used to delete a resource tag.
When a tag is deleted, the tag character set is not verified. Before calling this API, encode the URI. The application must decode the URI. If the key to be deleted does not exist, the error message 404 is displayed. The key cannot be empty or an empty string.
URI
DELETE /v2/{project_id}/{resource_type}/{resource_id}/tags/{key}
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Project ID. For details about how to obtain a project ID, see Obtaining a Project ID. |
| resource_type | Yes | String | Resource type.
|
| resource_id | Yes | String | Resource ID. |
| key | Yes | String | Tag key. |
Request
None
Response
None
Error Codes
For details, see Error Codes.
Last Article: Adding a Resource Tag
Next Article: Querying Resource Tags
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.