Skip to main content
GET
/
organizations
/
{organizationID}
Get organization details
curl --request GET \
  --url https://api.xata.tech/organizations/{organizationID} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "status": {
    "status": "enabled",
    "disabled_by_admin": true,
    "billing_status": "ok",
    "last_updated": "2023-11-07T05:31:56Z",
    "admin_reason": "<string>",
    "billing_reason": "<string>"
  }
}

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 for a specific organization

Response

Organization details retrieved successfully

Organization details including ID and name

id
string
required

Unique identifier for the organization

name
string
required

Human-readable name of the organization

status
object
required

Current status of the organization