PREVIEW: Add a new user role for a given organization unit.

Add a new user role for a organization unit and return the role id.

NOTE:This endpoint is currently in a preview stage.

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

ID of the organization unit for which new role needs to be added.

Body Params

Request Payload for adding a new user role.

string
required

The name of the role

string
required
length between 0 and 255

The description of the role

permissionIds
array of strings
required

The list of permissions

permissionIds*
userIds
array of strings

The list of user IDs

userIds
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
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