Skip to main content
DELETE
/
organizations
/
{id}
/
members
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.organizations.members.delete("id", {
        members: [
            "members",
        ],
    });
}
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

Organization identifier.

Maximum string length: 50

Body

members
string<user-id-with-max-length>[]
required

List of user IDs to remove from the organization.

Minimum array length: 1

Response

Users successfully removed from organization.