UntagResources

Updated at:

Removes tags from resources.

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 /v1/tags HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

ResourceType

string

No

The resource type.

gateway

ResourceId

array

No

The resource IDs. You can specify up to 50 subkeys.

["gw-xxx","gw-yyy"]

string

No

The resource ID.

["gw-xxx","gw-yyy"]

TagKey

array

No

The list of tag keys. You can specify up to 20 subkeys.

["env","team"]

string

No

The tag key.

["env","team"]

All

boolean

No

Specifies whether to delete all tags. This parameter takes effect only when tags are empty. Valid values:

  • true

  • false

  • True

  • False

Default value: false.

true

Response elements

Element

Type

Description

Example

object

Schema of Response

requestId

string

Id of the request

585657D2-1C20-5B8A-AF17-D727C6490BE4

Examples

Success response

JSON format

{
  "requestId": "585657D2-1C20-5B8A-AF17-D727C6490BE4"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.