Queries available regions.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
AcceptLanguage | string | No | The supported language. Valid values:
| zh-CN |
RegionId | string | No | The ID of the region. | cn-hangzhou |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "1651FBB6-4FBF-49FF-A9F5-DF5D696C7EC6",
"Regions": {
"Region": [
{
"RegionEndpoint": "slb.aliyuncs.com",
"LocalName": "China (Beijing)",
"RegionId": "cn-beijing"
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidParameter | InvalidParameter | - |
400 | InvalidParameter | Illegal parameter, query.namespace is not auth. | |
400 | LocationServiceTimeout | Location service connection timeout. Please try again later. | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-09-08 | The Error code has changed | View Change Details |