A newer version is available. For the latest information, see the
current release documentation.
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 |
---|---|---|---|
|
|
Y |
CSV list of Invitation tokens |
|
|
Y |
Identifier for the Organization |
Responsesedit
-
200
-
Organization invitations deleted successfully
-
400
-
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
-
-
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
-
Organization not found. (code:
Request exampleedit
curl -XDELETE https://{{hostname}}/api/v1/organizations/{organization_id}/invitations/{invitation_tokens} \ -H "Authorization: ApiKey $ECE_API_KEY"