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

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.userGrants.deleteByUserId({
        userId: "user_id",
    });
}
main();

承認

Authorization
string
header
必須

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

クエリパラメータ

user_id
string
必須

user_id of the grant to delete.

レスポンス

User grant successfully deleted.