Management API
TypeScript
import { ManagementClient } from "auth0"; async function main() { const client = new ManagementClient({ token: "<token>", }); await client.sessions.revoke("id"); } main();
Revokes a session by ID and all associated refresh tokens.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the session to revoke.
50
Session deletion request accepted.