POST /api/public/v1/roles/create
Changed onCreates a custom role from a level per access area (permissions), from the actions granted per area (grants), or from levels with grants naming the areas that differ from them. orderReach says whether its order read covers the member's own joined shift or every shift; left out, it follows the levels, or the readAllShifts action in grants. A request naming grants may give only actions the caller holds across the organization, else FORBIDDEN grantNotHeld. The answer carries the role's actions per area as grants; permissions holds the level of each area a level describes and leaves out an area whose actions no level makes.
Request
- Base URLhttps://app.fortuneos.ai
- Authnone declared
Request body
Response
OK
Changes
- info
the
locationrequest property default valuenonewas removed
- info
- info
added the new optional request property
permissions/locationFeatures
- info