Skip to main content
POST
Create a new role within a company. Requires Super Admin or HR Manager permissions.

Path Parameters

string
required
The unique identifier of the company

Request Body

string
required
Name of the role. Must be between 2 and 50 characters.Example: "Senior Developer"
string
Optional description of the role.Example: "Senior-level software development position"
string[]
Optional array of cached permission strings.Example: ["employees:read", "employees:write"]

Response

boolean
Indicates if the request was successful
object
The created role object