Create a company role

Creates a new custom role for the company with an optional set of
permissions (passed as an array of permission ids).

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

The UUID of the company the nested resource belongs to.

Body Params
string
required
string
permissions
array of uuids

Ids of the permissions to grant to the role.

permissions
Headers
uuid
required

UUID of the company on whose behalf the request is made. Required for every Organization endpoint.
See The company-id header for details on how to obtain
a value for this header and the error responses to expect when it is missing or invalid.

Responses

401

Unauthorized

404

Company not found

422

Validation failed

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