/roles

This endpoint creates a new role under the current user's account. Admins can create roles and define which permissions are part of which roles. Non-admin users with 'Role' permission can only create a role with the permission that they already have themselves.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length between 1 and 126

The name of the role.

string
length ≤ 5000

The notes of the role.

boolean
required

True if the role is one of the default roles for the account, false otherwise.

permissions
object
required
Responses

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