Sets an alias for an Alibaba Cloud account.


Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes SetAccountAlias

The name of this action.

Value: SetAccountAlias

AccountAlias String Yes myalias

The alias of the Alibaba Cloud account. It must be 3 to 32 characters in length.

Pattern: ^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$

Response parameters

Parameter Type Example value Description
RequestId String 04F0F334-1335-436C-A1D7-6C044FE73368 The request ID.


Request example
&<Common parameters>

Response example

XML format


JSON format



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