Revoke Clerk M2M token
Revoke an M2M token in a connected Clerk instance.
← All Clerk endpoints · Capability overview
/v1/clerk/m2m-tokens/{m2m_token_id}/revokehttps://api.vee3.io/v1/clerk/m2m-tokens/{m2m_token_id}/revoke
Revoke an M2M token in a connected Clerk instance.
Authorization
Send your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
MCP
The same capability is available as an MCP tool on Vee3 hosted MCP.
Tool name
clerk.revoke_m2m_tokenParameters2 fields
clerk_instance_idstringOptionalClerk instance id (ins_...) from clerk.get_connected_accounts. Omit to use the default connected account.
m2m_token_idstringRequiredClerk M2M token id (mt_...) to revoke.
Response9 fields
m2m_tokenobject8 fieldsRevoked M2M token from the Backend API.
m2m_tokenobjectidstringM2M token id (mt_...).
subjectstringMachine id (mch_...) that created or owns the token.
tokenstringM2M token secret when returned on creation. Treat as high-privilege — do not log.
revokedbooleanWhether the token has been revoked.
expiredbooleanWhether the token has expired.
expirationintegerUnix timestamp in milliseconds when the token expires.
created_atintegerUnix timestamp in milliseconds when the token was created.
updated_atintegerUnix timestamp in milliseconds when the token was last updated.
HTTP errors: clerk_connection_required, clerk_connection_not_found, clerk_connection_invalid, validation_error, unauthorized, payment_required