List organization invitations
Fetch open invitations to the selected organization. Currently unavailable in self-hosted ECE.
Path parameters
-
Identifier for the Organization
GET /organizations/{organization_id}/invitations
curl \
-X GET https://{{hostname}}/api/v1/organizations/{organization_id}/invitations
Response examples (200)
{
"invitations": [
{
"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"
]
}
}
]
}
Response examples (404)
# Headers
x-cloud-error-codes: organization.not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}