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 language of the response. Valid values:
| zh-CN |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "2F026E79-30AD-47B6-9E7D-D1D4BA77F1F1",
"Regions": {
"Region": [
{
"LocalName": "",
"RegionEndpoint": "smartag.cn-shanghai.aliyuncs.com",
"RegionId": "cn-shanghai"
}
]
}
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 403 | Forbidden | User not authorized to operate on the specified resource. | You do not have permissions to manage the specified resource. |
| 501 | InnerServiceFailed | Call inner service failed. | An error occurred while invoking internal services. |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2024-03-15 | API Description Update. The Error code has changed | View Change Details |
