Batch Adding or Deleting Tags of a Specified Resource

Function

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

URI

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

Table 1 describes the required parameters.

Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

resource_type

Yes

String

Specifies the resource type. The type is 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 Code

For details about status codes, see Status Code.