Querying a Global Connection Bandwidth Tag in an Account
Function
This API is used to query a global connection bandwidth tag in an account.
URI
GET /v3/gcb/{resource_id}/tags
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
resource_id |
Yes |
String |
Unique identifier of a resource. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
User token. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
tags |
Array of Tag objects |
Tag list. |
|
request_id |
String |
Request ID. |
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
String |
Tag key. The key can contain a maximum of 128 Unicode characters, including letters, digits, hyphens (-), and underscores (_). |
|
value |
String |
Tag value. The value can contain a maximum of 255 Unicode characters, including letters, digits, hyphens (-), underscores (_), and periods (.). |
Example Requests
Querying a global connection bandwidth tag in an account
GET https://{cc_endpoint}/v3/gcb/{resource_id}/tags
Example Responses
Status code: 200
The global connection bandwidth tag has been queried.
{
"tags" : [ {
"key" : "DEV",
"value" : "DEV1"
} ],
"request_id" : "d6bf8eeb1f2b6e503e88f3dc3024c7e7"
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
The global connection bandwidth tag has been queried. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.