Updated on 2026-01-13 GMT+08:00

Batch Deleting Metadata Labels

Function

This API is used to batch delete metadata labels. You can batch delete labels that are no longer needed.

Calling Method

For details, see Calling APIs.

URI

DELETE /v1/{project_id}/metadata/tags

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Unique project ID.

Request Parameters

Table 2 Request body parameters

Parameter

Mandatory

Type

Description

names

No

Array of strings

List of label names.

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

id

String

Task ID.

msg

String

Operation status message.

status

String

Operation status.

Status code: 204

Resource deleted.

Example Requests

DELETE /v1/{project_id}/metadata/tags

{
  "names" : [ "string" ]
}

Example Responses

None

Status Codes

Status Code

Description

200

Deleted.

204

Resource deleted.

401

Unauthorized. The user is not logged in or the token is invalid.

403

Unauthorized to access the resource.

Error Codes

See Error Codes.