Authorizations
JWT token for user authentication
Body
Schema for creating a new role
Role name
1 - 100"admin"
Array of permission strings
1["user.create", "user.read", "role.create"]Role description
500"Administrator role with full access"
Company ID for company-specific roles
"a3dbd0c2-9f79-4f86-8caa-47779b3f2793"
Organization role ID for role inheritance
"a3dbd0c2-9f79-4f86-8caa-47779b3f2794"
Response
Role created successfully
Role ID
"a3dbd0c2-9f79-4f86-8caa-47779b3f2793"
Role name
"admin"
Array of permission strings
["user.create", "user.read", "role.create"]Creation timestamp
"2024-01-01T00:00:00.000Z"
Last update timestamp
"2024-01-01T00:00:00.000Z"
Role description
"Administrator role with full access"
Company ID for company-specific roles
"a3dbd0c2-9f79-4f86-8caa-47779b3f2793"
Organization role ID for role inheritance
"a3dbd0c2-9f79-4f86-8caa-47779b3f2794"

