Get organization invitation
Gets a single invitation to an organization by token. Currently unavailable in self-hosted ECE.
Path parameters
-
Organization invitation token
GET /organizations/invitations/{invitation_token}
curl \
-X GET https://api.elastic-cloud.com/api/v1/organizations/invitations/{invitation_token}
Response examples (200)
{
"token": "string",
"email": "string",
"created_at": "2024-05-04T09:42:00+00:00",
"expires_at": "2024-05-04T09:42:00+00:00",
"expired": true,
"accepted_at": "2024-05-04T09:42:00+00:00",
"organization": {
"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"
},
"role_assignments": {
"platform": [
{
"role_id": "string"
}
],
"organization": [
{
"role_id": "string",
"organization_id": "string"
}
],
"deployment": [
{
"role_id": "string",
"organization_id": "string",
"all": true,
"deployment_ids": [
"string"
],
"application_roles": [
"string"
]
}
],
"project": {
"elasticsearch": [
{
"role_id": "string",
"organization_id": "string",
"all": true,
"project_ids": [
"string"
],
"application_roles": [
"string"
]
}
],
"observability": [
{
"role_id": "string",
"organization_id": "string",
"all": true,
"project_ids": [
"string"
],
"application_roles": [
"string"
]
}
],
"security": [
{
"role_id": "string",
"organization_id": "string",
"all": true,
"project_ids": [
"string"
],
"application_roles": [
"string"
]
}
]
}
}
}
Response examples (404)
# Headers
x-cloud-error-codes: organization.invitation_not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}