import Reminix from '@reminix/sdk';const client = new Reminix({ apiKey: process.env['REMINIX_API_KEY'], // This is the default and can be omitted});await client.clientTokens.revoke('x');
Copy
{ "error": "Invalid or missing API key"}
Client Tokens
Revoke a client token
Revoke a client token immediately.
Once revoked, the token can no longer be used for authentication. This is a soft delete - the token record is kept for audit purposes.
DELETE
/
client-tokens
/
{id}
JavaScript
Copy
import Reminix from '@reminix/sdk';const client = new Reminix({ apiKey: process.env['REMINIX_API_KEY'], // This is the default and can be omitted});await client.clientTokens.revoke('x');