Batch Adding Tags to or Deleting Tags from a Specified Resource

Function

This API is used to batch add tags to or delete tags from a specified VPC endpoint service or VPC endpoint.

URI

POST /v1/{project_id}/{resource_type}/{resource_id}/tags/action

Table 1 describes parameters in this URI.

Table 1 URI parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

resource_type

Yes

String

Specifies the resource type, which can be endpoint_service or endpoint.

resource_id

Yes

String

Specifies the resource ID, which can be Endpoint Service ID or Endpoint ID.

Request

Response

None

Status Codes

See Status Codes.

Error Codes

For details, see Error Codes.