DeleteResourceInstanceLabel
Deletes instance tags from a resource group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eas:DeleteResourceInstanceLabel |
delete |
*All Resource
|
None | None |
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. |
cn-shanghai |
| ResourceId |
string |
Yes |
The ID of the resource group. To query the resource group ID, see ListResources. |
eas-r-h7lcw24dyqztwxxxxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceIds |
array |
No |
The instance IDs. |
|
|
string |
No |
The instance IDs. |
eas-i-xxxxx |
|
| AllInstances |
boolean |
No |
Specifies whether the operation applies to all instances in the resource group. If this parameter is set to true, the InstanceIds parameter does not take effect. |
|
Keys
deprecated
|
array |
No |
[Deprecated] The tags to delete. Use LabelKeys instead. |
|
|
string |
No |
The tag keys to delete. |
key |
|
| LabelKeys |
array |
No |
The tags to delete. |
|
|
string |
No |
The tag keys to delete. |
key |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
40325405-579C-4D82******** |
| Message |
string |
The response message. |
success |
Examples
Success response
JSON format
{
"RequestId": "40325405-579C-4D82********",
"Message": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.