edit-icon download-icon


Last Updated: Apr 09, 2018


Modify the name and description of a VPC.

Request parameters

Name Type Required Description
Action String Yes

The action to perform.

Valid value: ModifyVpcAttribute

VpcId String Yes The ID of the VPC.
VpcName String No

The name of the VPC.

The name must start with an English letter, but cannot start withhttp:// or https://.

The name can contain from 2 to 128 characters including a-z, A-Z, 0-9, underlines, and hyphens.

Description String No

The description of the VPC.

The description must start with English letters, but cannot start with http:// or https://.

The description can contain from 2 to 256 characters.

Response parameters

Name Type Description
RequestId String The ID of the request.


Request example

  1. https://vpc.aliyuncs.com/?Action=ModifyVpcAttribute
  2. &VpcId=vpc-257gq642n
  3. &VpcName=Vpc02
  4. &<CommonParameters>

Response example

XML format

  1. <ModifyVpcAttributeResponse>
  2. <RequestId>5741F353-AD13-41A2-83C7-19E49BD9AE30</RequestId>
  3. </ModifyVpcAttributeResponse>

JSON format

  1. {
  2. "RequestId": "5741F353-AD13-41A2-83C7-19E49BD9AE30"
  3. }
Thank you! We've received your feedback.