Modifying a Shared Bandwidth
Function
This API is used to modify the bandwidth used by a cloud phone. This API applies only to cloud phone servers that use system-defined networks.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions. For details about the required permissions, see Permissions Policies and Supported Actions.
URI
PUT /v1/{project_id}/cloud-phone/bandwidths/{band_width_id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Specifies the project ID. |
|
band_width_id |
Yes |
String |
Specifies the bandwidth ID. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
Specifies the user token. It can be obtained by calling an Identity and Access Management (IAM) API. The value of X-Subject-Token in the response header is the user token. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
band_width_size |
Yes |
Integer |
Specifies the increment step of a bandwidth.
|
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
request_id |
String |
Specifies the request ID, which is unique. |
|
error_msg |
String |
Specifies the error message returned for the task. |
|
error_code |
String |
Specifies the task error code. |
Example Requests
Changing the bandwidth size to 350 Mbit/s
PUT https://{CPH Endpoint}/v1/{project_id}/cloud-phone/bandwidths/{band_width_id}
{
"band_width_size" : 350
}
Example Responses
Status code: 200
OK
{
"request_id" : "70bb40bef50e4a14b116a5a527fd7432"
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
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.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot