メインコンテンツへスキップ
DELETE
/
users
/
{user_id}
/
sessions
TypeScript
import { ManagementClient } from "auth0";

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

承認

Authorization
string
header
必須

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

パスパラメータ

user_id
string
必須

ID of the user to get sessions for

レスポンス

Session deletion request accepted.