Deleting a Resource Tag
Function
When a tag is deleted, the tag character set is not verified. Before calling this API, the API URL must be encoded. If the key to be deleted does not exist, 404 is displayed. The key cannot be left blank or an empty string.
Calling Method
For details, see Calling APIs.
URI
DELETE /v3/{project_id}/{resource_type}/{resource_id}/tags/{key}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
key |
Yes |
String |
Specifies the tag key. |
project_id |
Yes |
String |
Specifies the project ID. |
resource_id |
Yes |
String |
Specifies the resource ID. |
resource_type |
Yes |
String |
Specifies the Direct Connect resource type.
Enumeration values:
|
Request Parameters
None
Response Parameters
None
Example Requests
Deleting tags from a resource
DELETE https://{dc-endpoint}/v3/cfa563efb77d4b6d9960781d82530fd8/instance/3320166e-b937-40cc-a35c-02cd3f2b3ee2/tags/key1
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
204 |
No Content |
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.