All Products
Search
Document Center

Key Management Service:DescribeRegions

Last Updated:Aug 21, 2025

Describes the active regions for the current account.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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.