Help Center/ Cloud Connect/ API Reference/ API/ Central Networks/ Querying the Tags Added to a Central Network
Updated on 2025-07-29 GMT+08:00

Querying the Tags Added to a Central Network

Function

This API is used to query the tags added to a central network.

URI

GET /v3/{domain_id}/gcn/central-networks/tags

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

domain_id

Yes

String

Account ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

No

String

User token.

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

request_id

String

Request ID.

tags

Array of MultivaluedTag objects

All tags of the central network.

Table 4 MultivaluedTag

Parameter

Type

Description

key

String

Tag key. The key can contain a maximum of 128 Unicode characters, including letters, digits, hyphens (-), and underscores (_).

values

Array of strings

List of values with the same key.

Example Requests

Querying the tags added to a central network

GET /v3/{domain_id}/gcn/central-networks/tags

Example Responses

Status code: 200

The tags added to a central network have been queried.

{
  "request_id" : "2f68486e542a0bb23ab86a826f909ecf",
  "tags" : [ {
    "key" : "key1",
    "values" : [ "value1" ]
  }, {
    "key" : "key2",
    "values" : [ "value2" ]
  } ]
}

Status Codes

Status Code

Description

200

The tags added to a central network have been queried.

Error Codes

See Error Codes.