Describes the active regions for the current account.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
815240e2-aa37-4c26-9cca-05d4df3e8fe6 |
| Regions |
object |
||
| Region |
array<object> |
The region. |
|
|
object |
|||
| RegionId |
string |
The region ID. |
cn-hangzhou |
Examples
Success response
JSON format
{
"RequestId": "815240e2-aa37-4c26-9cca-05d4df3e8fe6",
"Regions": {
"Region": [
{
"RegionId": "cn-hangzhou"
}
]
}
}
Error response
JSON format
//xml response
cn-beijing
cn-hangzhou
815240e2-aa37-4c26-9cca-05d4df3e8fe6
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is not valid. | An invalid value is specified for the parameter. |
| 404 | InvalidAccessKeyId.NotFound | The Access Key ID provided does not exist in our records. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.