All Products
Search
Document Center

Smart Access Gateway:DescribeRegions

Last Updated:Jul 31, 2025

Queries available regions.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AcceptLanguagestringNo

The language of the response. Valid values:

  • zh-CN (default): Chinese
  • en-US: English
  • ja: Japanese
zh-CN

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

2F026E79-30AD-47B6-9E7D-D1D4BA77F1F1
Regionsarray<object>

A list of regions.

Regionobject
LocalNamestring

The name of the region.

RegionEndpointstring

The endpoint of the Smart Access Gateway (SAG) service in the current region.

smartag.cn-shanghai.aliyuncs.com
RegionIdstring

The ID of the region.

cn-shanghai

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 codeError codeError messageDescription
403ForbiddenUser not authorized to operate on the specified resource.You do not have permissions to manage the specified resource.
501InnerServiceFailedCall inner service failed.An error occurred while invoking internal services.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-03-15API Description Update. The Error code has changedView Change Details