Updated on 2025-02-25 GMT+08:00

Deleting a User Tag

Function

This API is used to delete user tags.

URI

DELETE /v1/{project_id}/tags/{tag_id}

Table 1 URI parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

project_id

tag_id

Yes

String

tag_id

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token. Obtain a user token by calling IAM's "Obtaining a User Token" API. X-Subject-Token in the response header is the desired user token.

Response Parameters

Status code: 200

Table 3 Response body parameter

Parameter

Type

Description

data

Boolean

Whether the request is successful. The options are true and false.

Example Request

Delete a user tag.

DELETE https://{{host}}/v1/{project_id}/tags/{tag_id}

Example Response

None

Status Codes

Status Code

Description

200

The user tag is successfully deleted.

Error Codes

See Error Codes.