Delete organization invitationsedit

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

Requestedit

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

Path parametersedit

Name Type Required Description

invitation_tokens

string

Y

CSV list of Invitation tokens

organization_id

string

Y

Identifier for the Organization

Responsesedit

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 exampleedit

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