DELETE Revoke Organization Invitation

​

Withdraws an invitation that has not been accepted yet. The invitation link stops working immediately.

Path Parameters

  • The organization's customer account ID. Must match the signed-in account.

  • Invitation ID, as returned in invitations[].id

Headers

  • Type of content accepted by the API (application/json in most cases)

  • Application key for specific client app

  • Version of the API to be used

  • Authorization header

  • Unique request identifier

Responses

  • application/json
  • Missing or invalid token, or the path account is not the signed-in account.

  • No such invitation in this organization.

Request Example for delete/organizations/{customer_account_id}/invitations/{invitation_id}
curl https://api-public-demo.menu.app/api/organizations/9031/invitations/18 \
  --request DELETE \
  --header 'Accept: application/json' \
  --header 'Application: application-key' \
  --header 'API-VERSION: ' \
  --header 'X-Request-ID: c10b4a70-6274-490d-80a0-03e7bb826937'
{
  "status": "OK",
  "code": 200
}