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
|
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. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
tag |
Yes |
RequiredTag object |
Resource tag, which is a key-value pair. |
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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.