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 letters, digits, underscores (_), and hyphens (-). The name must start with a letter or Chinese character but 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 or Chinese character and cannot start with http:// or https://.

ProtectionLevel String No REDUCED

The level of CIDR block overlapping.

Set the value to REDUCED (default). This value specifies that CIDR blocks can overlap but CIDR blocks cannot match.

Response parameters

Parameter Type Example Description
RequestId String 13526224-5780-4426-8BDF-BC8B08700F22

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.