import Limitry from '@limitry/sdk';const client = new Limitry({ apiKey: process.env['LIMITRY_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 Limitry from '@limitry/sdk';const client = new Limitry({ apiKey: process.env['LIMITRY_API_KEY'], // This is the default and can be omitted});await client.clientTokens.revoke('x');