Skip to main content
DELETE
/
organizations
/
{id}
/
invites
/
{inviteId}
Cancel an invitation (owner/admin only)
curl --request DELETE \
  --url http://sandbox.mintlify.com/organizations/{id}/invites/{inviteId} \
  --header 'Authorization: Bearer <token>'
Cancels a pending invitation.

Permissions

User must be owner or admin.

What Happens

  • Invitation is marked as cancelled
  • Invitation link becomes invalid
  • User cannot accept the invitation

Example

curl -X DELETE http://localhost:3001/api/organizations/550e8400-e29b-41d4-a716-446655440000/invites/456 \
  -H "Authorization: Bearer <token>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
inviteId
string
required

Response

Invitation cancelled successfully.