A newer version is available. For the latest information, see the
current release documentation.
Delete organization invitations
editDelete organization invitations
editDeletes one or more organization invitations. Currently unavailable in self-hosted ECE.
Request
editDELETE /api/v1/organizations/{organization_id}/invitations/{invitation_tokens}
Path parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
Y |
CSV list of Invitation tokens |
|
|
Y |
Identifier for the Organization |
Responses
edit-
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 example
editcurl -XDELETE https://{{hostname}}/api/v1/organizations/{organization_id}/invitations/{invitation_tokens} \ -H "Authorization: ApiKey $ECE_API_KEY"