Get organization invitation

edit

Gets a single invitation to an organization by token. Currently unavailable in self-hosted ECE.

Request

edit

GET /api/v1/organizations/invitations/{invitation_token}

Path parameters

edit
Name Type Required Description

invitation_token

string

Y

Organization invitation token

Responses

edit
200

(OrganizationInvitation)

Organization invitation fetched successfully

404

(BasicFailedReply)

Invitation not found. (code: organization.invitation_not_found)

Headers

x-cloud-error-codes (string; allowed values: [organization.invitation_not_found])
The error codes associated with the response

Request example

edit
curl -XGET https://{{hostname}}/api/v1/organizations/invitations/{invitation_token} \
-H "Authorization: ApiKey $ECE_API_KEY"