You can call the ModifyCenBandwidthPackageAttribute operation to modify the name and description of a bandwidth plan.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:ModifyCenBandwidthPackageAttribute |
update |
*CenBandwidthPackage
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
No |
The new name for the bandwidth plan. The name can be empty or 1 to 128 characters long. It cannot start with http:// or https://. |
test |
| Description |
string |
No |
The new description for the bandwidth plan. The description can be empty or 1 to 256 characters long. It cannot start with http:// or https://. |
Bandwidth Plans |
| CenBandwidthPackageId |
string |
Yes |
The ID of the bandwidth plan. |
cenbwp-4c2zaavbvh5fx**** |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
13526224-5780-4426-8ADF-BC8B08700F23 |
Examples
Success response
JSON format
{
"RequestId": "13526224-5780-4426-8ADF-BC8B08700F23"
}
Error response
JSON format
{
"RequestId":"13526224-5780-4426-8ADF-BC8B08700F23"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.