Management API
TypeScript
import { ManagementClient } from "auth0"; async function main() { const client = new ManagementClient({ token: "<token>", }); await client.roles.update("id", {}); } main();
{ "id": "<string>", "name": "<string>", "description": "<string>" }
Modify the details of a specific user role specified by ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the role to update.
Name of this role.
Description of this role.
Role successfully updated.
ID for this role.