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.

    • country_code string Required

      ISO 3166-1 alpha-2 country code which this region is associated with

    • project_creation_enabled boolean Required

      Specifies whether the region is available for project creation

  • 404 application/json

    Not Found

    Hide response attribute Show response attribute object
    • errors array[object] Required

      An error response returned by the API.

      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 \
 --request GET 'https://api.elastic-cloud.com/api/v1/serverless/regions/aws-us-east-1' \
 --header "Authorization: $API_KEY"