Help Center/ GaussDB/ API Reference/ APIs (Recommended)/ Tag Management/ Deleting Instance Tags in Batches
Updated on 2025-12-26 GMT+08:00

Deleting Instance Tags in Batches

Function

This API is used to delete instance tags in batches. Before calling this API:

Debugging

You can debug this API in API Explorer.

URI

DELETE /v3/{project_id}/instances/{instance_id}/tags

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Definition

Project ID of a tenant in a region.

To obtain the value, see Obtaining a Project ID.

Constraints

N/A

Range

The value can contain 32 characters. Only letters and digits are allowed.

Default Value

N/A

instance_id

Yes

String

Definition

Instance ID, which uniquely identifies an instance.

Constraints

N/A

Range

The value can contain 36 characters. Only letters and digits are allowed.

Default Value

N/A

Request Parameters

Table 2 Parameter description

Parameter

Mandatory

Type

Description

keys

Yes

Array of strings

Definition

Tags to be deleted.

Constraints

N/A

Range

N/A

Default Value

N/A

Response Parameters

None

Example Request

DELETE https://gaussdb-opengauss.ap-southeast-1.myhuaweicloud.com/v3/0483b6b16e954cb88930a360d2c4e663/instances/cc6fd964d93f4003851dfc29d57d30a5in14/tags
{
	"keys": ["key1","key2"]
}

Example Response

{}

Status Codes

Error Codes

For details, see Error Codes.