Deletes instance tags from a resource group.
Try it now
Test
RAM authorization
Request syntax
DELETE /api/v2/resources/{ClusterId}/{ResourceId}/label HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
Yes |
The region ID of the resource group. |
|
| ResourceId |
string |
Yes |
The ID of the resource group. To query the resource group ID, see ListResources. |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceIds |
array |
No |
The machine instance IDs. |
|
|
string |
No |
The machine instance IDs. |
||
| AllInstances |
boolean |
No |
Specifies whether the operation takes effect on all instances in the resource group. If this parameter is set to true, the InstanceIds parameter does not take effect. |
|
Keys
deprecated
|
array |
No |
The tags to delete. (Deprecated. Use LabelKeys instead.). |
|
|
string |
No |
The tag key to delete. |
||
| LabelKeys |
array |
No |
The tags to delete. |
|
|
string |
No |
The tag key to delete. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
|
| Message |
string |
The response message. |
Examples
Success response
JSON format
{
"RequestId": "",
"Message": ""
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.