Management API
TypeScript
import { ManagementClient } from "auth0"; async function main() { const client = new ManagementClient({ token: "<token>", }); await client.roles.get("id"); } main();
{ "id": "<string>", "name": "<string>", "description": "<string>" }
Retrieve details about 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 retrieve.
Role successfully retrieved.
ID for this role.
Name of this role.
Description of this role.