post
https://api.sandbox.flowpayroll.ai/v1/administration/roles
Needs permission role:write.
201 with the new role and its address in Location. roleId is custom. followed by 3 to 40 lower-case letters, numbers or hyphens, made from the name when you leave it out; it never changes. Pick permissions from the catalogue: employee:read, employee:* for every level of one area, or *. Nobody can build or change a role to include more than they hold themselves, and changing roles needs permission to manage roles (403 role_management_denied, role_change_denied). 409 role_already_exists for an id you already use, 409 role_limit_reached at 50 roles.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
