Help Center/ Cloud Connect/ API Reference/ API/ Global Connection Bandwidth Tag Management/ Adding a Tag to a Global Connection Bandwidth
Updated on 2025-07-29 GMT+08:00

Adding a Tag to a Global Connection Bandwidth

Function

This API is used to add a tag to a global connection bandwidth.

URI

POST /v3/gcb/{resource_id}/tags

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

resource_id

Yes

String

Unique identifier of a resource.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token.

Table 3 Request body parameters

Parameter

Mandatory

Type

Description

tag

Yes

RequiredTag object

Resource tag, which is a key-value pair.

Table 4 RequiredTag

Parameter

Mandatory

Type

Description

key

Yes

String

Tag key.

value

Yes

String

Tag value.

Response Parameters

Status code: 204

The global connection bandwidth tag has been added.

None

Example Requests

Adding a tag to a global connection bandwidth

POST https://{cc_endpoint}/v3/gcb/{resource_id}/tags

{
  "tag" : {
    "key" : "DEV",
    "value" : "DEV1"
  }
}

Example Responses

None

Status Codes

Status Code

Description

204

The global connection bandwidth tag has been added.

Error Codes

See Error Codes.