Skip to main content
GET
/
organizations
/
{organizationID}
/
regions
Get available regions
curl --request GET \
  --url https://api.xata.tech/organizations/{organizationID}/regions \
  --header 'Authorization: Bearer <token>'
{
  "regions": [
    {
      "id": "<string>",
      "publicAccess": true,
      "backupsEnabled": true
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

organizationID
string
required

Unique identifier of the organization to check region availability for

Response

List of regions available for the organization

regions
object[]
required

Array of available regions with their properties