All Products
Search
Document Center

Platform For AI:DeleteResourceInstanceLabel

Last Updated:Jan 09, 2026

Deletes tags from instances in a resource group.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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. For information about how to query the resource group ID, see ListResources.

eas-r-h7lcw24dyqztwxxxxxx

Request parameters

Parameter

Type

Required

Description

Example

InstanceIds

array

No

The ID of the instance.

string

No

The instance ID.

eas-i-xxxxx

AllInstances

boolean

No

Specifies whether to delete the tags from 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. This parameter is deprecated. Use `LabelKeys` instead.

string

No

The key of the tag to delete.

key

LabelKeys

array

No

The tags to delete.

string

No

The key of the tag to delete.

key

Response elements

Element

Type

Description

Example

object

The response schema.

RequestId

string

The request ID.

40325405-579C-4D82********

Message

string

The message returned for the request.

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.