POST /api/public/v1/roles/update
Changed onChanges a role's name and the access areas the request names, by level in permissions or by action in grants; an area named in both takes its grants. An area left out keeps what the role held, so a caller that does not know an area or an action neither grants nor revokes it, and an empty list in grants takes an area away. A reach left out stays as chosen, or follows the levels where none was ever chosen. A request naming grants, or changing a role built action by action, may add only actions the caller holds across the organization, else FORBIDDEN grantNotHeld. In the answer permissions leaves out an area whose actions no level makes, so writing it back keeps that area.
Request
- Base URLhttps://app.fortuneos.ai
- Authnone declared
Request body
Response
OK
Changes
- info
added the new optional request property
permissions/locationFeatures
- info
- info
added the new optional request property
permissions/locationPricing
- info