forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
8.3 KiB
8.3 KiB
Deleting a Resource Tag
Function
This API is used to delete a resource tag for a resource.
URI
DELETE /v1.0/{project_id}/clusters/{resource_id}/tags/{key}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain the project ID, see Obtaining a Project ID. |
resource_id |
Yes |
String |
Resource ID |
key |
Yes |
String |
Tag key. |
Request Parameters
None
Response Parameters
None
Example Request
DELETE /v1.0/89cd04f168b84af6be287f71730fdb4b/clusters/7d85f602-a948-4a30-afd4-e84f47471c15/tags/DEV
Response Message
None
Status Code
Returned Value |
Description |
---|---|
204 |
The deletion is successful. |
400 |
Invalid parameter. |
401 |
Authentication failed. |
403 |
Insufficient permission. |
404 |
The requested resource was not found or the key does not exist. |
500 |
Internal service error. |
Parent topic: Tag Management APIs