Deleting a Resource Tag
Function
This API is used to delete a resource tag.
Calling Method
For details, see Calling APIs.
URI
DELETE /v2/{project_id}/{resource_type}/{resource_id}/tags/{key}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID |
resource_type |
Yes |
String |
Resource type. The value can be DNS-public_zone, DNS-private_zone, DNS-public_recordset, DNS-private_recordset, or DNS-ptr_record. |
resource_id |
Yes |
String |
Resource ID |
key |
Yes |
String |
Tag key. The key cannot be left blank or be an empty string. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. It can be obtained by calling an IAM API. The value of X-Subject-Token in the response header is the user token. |
Response Parameters
None
Example Requests
None
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
204 |
Response to the request for deleting a resource tag |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.