Skip to main content
POST
/
sessions
/
{id}
/
revoke
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.sessions.revoke("id");
}
main();

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

ID of the session to revoke.

Maximum string length: 50

Response

Session deletion request accepted.