Deleting Resource Tags
Function
This API is used to delete tags from resources of a specific type.
Constraints
This API is idempotent. The key cannot be left blank or an empty string.
Calling Method
For details, see Calling APIs.
Authorization Information
Each account root user has all the permissions required to call all APIs, but IAM users must be assigned the following required identity policy-based permissions. For details about the required permissions, see Permissions Policies and Supported Actions.
URI
DELETE /v3/{project_id}/{resource_type}/{resource_id}/tags/{key}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
key |
Yes |
String |
Tag key |
|
project_id |
Yes |
String |
Project ID |
|
resource_id |
Yes |
String |
Resource ID. |
|
resource_type |
Yes |
String |
Tagged resource type. |
Request Parameters
None
Response Parameters
Status code: 204
No Content
None
Example Requests
DELETE https://{erouter-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.