Get a region

GET /api/v1/serverless/regions/{id}

Retrieve the details of a cloud service provider region.

Path parameters

  • id string Required

    ID of the region

Responses

  • 200 application/json

    The requested region

    Hide response attributes Show response attributes object
    • id string Required

      Unique human-readable identifier for a region in Elastic Cloud.

    • name string Required

      The human readable name for the region

    • csp string Required

      The identifier of the cloud service provider hosting this region.

      Values are aws, gcp, or azure.

    • csp_region string Required

      The unique identifier of the underlying cloud service provider region.

  • 404 application/json

    Not Found

    Hide response attribute Show response attribute object
    • errors array[object] Required
      Hide errors attributes Show errors attributes object
      • message string Required

        A human-readable message of the error.

      • code string Required

        An identifier for this type of error.

GET /api/v1/serverless/regions/{id}
curl \
 -X GET https://api.elastic-cloud.com/api/v1/serverless/regions/aws-us-east-1
Response examples (200)
{
  "id": "aws-us-east-1",
  "name": "US (Virginia)",
  "csp": "aws",
  "csp_region": "us-east-1"
}
Response examples (404)
{
  "errors": [
    {
      "message": "Explicative error message",
      "code": "code.error"
    }
  ]
}