clerk.revoke_invitation
Revoke a pending application invitation by invitation id.
Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account.
Only pending invitations can be revoked.
Cost = 5 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invitation_id | Yes | Clerk application invitation id (inv_...) to revoke. | |
| clerk_instance_id | No | Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invitation | No | Revoked Clerk invitation object from the Backend API. |