Management API
TypeScript
import { ManagementClient } from "auth0"; async function main() { const client = new ManagementClient({ token: "<token>", }); await client.organizations.members.delete("id", { members: [ "members", ], }); } main();
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Organization identifier.
50
List of user IDs to remove from the organization.
1
Users successfully removed from organization.