All Products
Search
Document Center

Platform For AI:DeleteResourceInstanceLabel

Last Updated:Jun 25, 2026

Deletes instance tags from 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.

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.