clerk.revoke_admin_portal_link_token
Revoke an admin portal link token by id in a connected Clerk instance.
Sensitive — invalidates a single-use deep-link token.
Call clerk.get_connected_accounts first. Pass clerk_instance_id to target a specific connection, or omit it to use the default account.
Returns the revoked admin portal link token.
Cost = 8 tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clerk_instance_id | No | Clerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account. | |
| revocation_reason | No | Optional reason recorded when revoking the link token. | |
| admin_portal_link_token_id | Yes | Admin portal link token id (aplt_...) to revoke. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| admin_portal_link_token | No | Revoked admin portal link token from the Backend API. |