Deletes a pending invitation of the organization. Requires a member role or above in the organization and an active plan (403 otherwise). Returns 404 for an unknown invitation and 400 when it was already accepted or rejected.
DELETE
/organization/{orgId}/invitation/{invitationId}
curl \
--request DELETE 'http://api.example.com/organization/{orgId}/invitation/{invitationId}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"message": "Done",
"isSuccess": true
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}