Modifies the name and description of a Cloud Enterprise Network (CEN) instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String No ModifyCenAttribute

The operation that you want to perform.

Set the value to ModifyCenAttribute.

CenId String Yes cen-7qthudw0ll6jmc****

The ID of the CEN instance.

Name String No test

The name of the CEN instance.

The name must be 2 to 128 characters in length and can contain digits, periods (.), underscores (_), and hyphens (-). It must start with a letter and cannot start with http:// or https://.

Description String No cen

The description of the CEN instance.

The description must be 2 to 256 characters in length. It must start with a letter. It cannot start with http:// or https://.

ProtectionLevel String No REDUCED

The level of CIDR block overlapping.

Set the value to REDUCED. REDUCED indicates that the CIDR blocks can overlap with each other but must not be the same.

Response parameters

Parameter Type Example Description
RequestId String 455AC20C-7061-446A-BDBD-B3BEE0856304

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=ModifyCenAttribute
&CenId=cen-7qthudw0ll6jmc****
&<Common request parameters>

Sample success responses

XML format

<ModifyCenAttributeResponse>
       <RequestId>13526224-5780-4426-8BDF-BC8B08700F22</RequestId>
</ModifyCenAttributeResponse>

JSON format

{
    "RequestId":"13526224-5780-4426-8BDF-BC8B08700F22"
}

Error codes

HttpCode Error code Error message Description
400 InvalidOperation.EnhanceProtectionLevel Your request to enhance CBN protection level cannot be processed. Please contact customer support to continue this operation. The error message returned because you are not allowed to change the protection level for the CBN instance. To perform this operation, contact the customer service.

For a list of error codes, visit the API Error Center.