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

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.users.permissions.delete("id", {
        permissions: [
            {
                resourceServerIdentifier: "resource_server_identifier",
                permissionName: "permission_name",
            },
        ],
    });
}
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

ID of the user to remove permissions from.

Body

permissions
object[]
required

List of permissions to remove from this user.

Minimum array length: 1

Response

User permissions removed.