Fetch organization information
Fetch a single organization by id. Currently unavailable in self-hosted ECE.
Path parameters
-
organization_id
string Required Identifier for the Organization
Responses
-
200 application/json
Organization fetched successfully
-
401 application/json
User not found. (code:
user.not_found
) -
403 application/json
The current user does not have access to the requested organization. (code:
organization.invalid_access
) -
404 application/json
Organization not found. (code:
organization.not_found
)
GET
/organizations/{organization_id}
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/organizations/{organization_id}'
Response examples (200)
{
"id": "string",
"name": "string",
"default_disk_usage_alerts_enabled": true,
"notifications_allowed_email_domains": [
"string"
],
"billing_contacts": [
"string"
],
"operational_contacts": [
"string"
],
"sso_login_identifier": "string"
}
Response examples (401)
# Headers
x-cloud-error-codes: user.not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (403)
# Headers
x-cloud-error-codes: organization.invalid_access
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (404)
# Headers
x-cloud-error-codes: organization.not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}