Management API
TypeScript
import { ManagementClient } from "auth0"; async function main() { const client = new ManagementClient({ token: "<token>", }); await client.userGrants.deleteByUserId({ userId: "user_id", }); } main();
Delete a grant associated with your account.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
user_id of the grant to delete.
User grant successfully deleted.