Delete organization invitations

edit

Deletes one or more organization invitations. Currently unavailable in self-hosted ECE.

Request

edit

DELETE /api/v1/organizations/{organization_id}/invitations/{invitation_tokens}

Path parameters

edit
Name Type Required Description

invitation_tokens

string

Y

CSV list of Invitation tokens

organization_id

string

Y

Identifier for the Organization

Responses

edit
200

(EmptyResponse)

Organization invitations deleted successfully

400

(BasicFailedReply)

No valid invitation token was supplied. (code: root.invalid_data)

Headers

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

(BasicFailedReply)

  • Organization not found. (code: organization.not_found)
  • Invitation not found. (code: organization.invitation_not_found)

Headers

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

Request example

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