Get User role

Access: read-only. Available to read-only API credentials.

Retrieve a single user role by its numeric id.

When to use. Drill down to one role's details, for example after picking it from the list returned by GET /roles. Returns 404 if the id does not exist.

Returns. { "role": <role> }, with id, name, level, twofa_type and userIds.

Example. GET /api/roles/9

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Role ID.

string
required

Dialer Name (subdomain)

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json