---
title: "POST /api/public/v1/roles/update"
method: POST
path: "/api/public/v1/roles/update"
---

# POST /api/public/v1/roles/update

`POST /api/public/v1/roles/update`

## Request

- Base URL: `https://app.fortuneos.ai`
- URL: `https://app.fortuneos.ai/api/public/v1/roles/update`
- Auth: none declared

Changes 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 body

- object
  - `organizationId` string, required
  - `id` string, required
  - `name` string, required
  - `permissions` object
    - `order` 'full' | 'viewOnly' | 'none'
    - `staff` 'full' | 'viewOnly' | 'none'
    - `report` 'full' | 'viewOnly' | 'none'
    - `menu` 'full' | 'viewOnly' | 'none'
    - `shift` 'full' | 'viewOnly' | 'none'
    - `settings` 'full' | 'viewOnly' | 'none'
    - `customer` 'full' | 'viewOnly' | 'none'
    - `organization` 'full' | 'viewOnly' | 'none'
    - `location` 'full' | 'viewOnly' | 'none'
    - `billing` 'full' | 'viewOnly' | 'none'
    - `table` 'full' | 'viewOnly' | 'none'
    - `role` 'full' | 'viewOnly' | 'none'
    - `paymentSetup` 'full' | 'viewOnly' | 'none'
    - `locationPricing` 'full' | 'viewOnly' | 'none'
    - `locationFeatures` 'full' | 'viewOnly' | 'none'
    - `loyalty` 'full' | 'viewOnly' | 'none'
    - `booking` 'full' | 'viewOnly' | 'none'
    - `payment` 'full' | 'viewOnly' | 'none'
    - `inventory` 'full' | 'viewOnly' | 'none'
    - `inventoryCost` 'full' | 'viewOnly' | 'none'
    - `enterpriseEvents` 'full' | 'viewOnly' | 'none'
    - `enterpriseTerminals` 'full' | 'viewOnly' | 'none'
    - `enterpriseMerchants` 'full' | 'viewOnly' | 'none'
  - `grants` object
    - `order` string[]: Any of: create, read, readSummary, readAllShifts, update, applyDiscount, void, advance, complete, cancel, confirmPayment, refund, print, toggleItem, delete, adjustTip, changePaymentType.
    - `staff` string[]: Any of: invite, read, updateRole, suspend, remove, deleteAuthenticator. `list` is read as `read`.
    - `report` string[]: Any of: read.
    - `menu` string[]: Any of: read, create, update, archive. `delete` is accepted and ignored.
    - `shift` string[]: Any of: read, open, close, join, manageParticipants, overrideClosed, viewSummary.
    - `settings` string[]: Any of: read, update.
    - `customer` string[]: Any of: read, create, update, archive. `list` is read as `read`.
    - `organization` string[]: Any of: read, update.
    - `location` string[]: Any of: read, create, update, archive.
    - `billing` string[]: Any of: read, manage.
    - `table` string[]: Any of: read, create, update, delete.
    - `role` string[]: Any of: read, create, update, delete.
    - `paymentSetup` string[]: Any of: read, manage.
    - `locationPricing` string[]: Any of: read, update.
    - `locationFeatures` string[]: Any of: read, update.
    - `loyalty` string[]: Any of: read, configure, adjust.
    - `booking` string[]: Any of: read, create, update.
    - `payment` string[]: Any of: read.
    - `inventory` string[]: Any of: read, post, manage.
    - `inventoryCost` string[]: Any of: read, update.
    - `enterpriseEvents` string[]: Any of: read, manage.
    - `enterpriseTerminals` string[]: Any of: read, manage.
    - `enterpriseMerchants` string[]: Any of: read, manage.
  - `orderReach` 'ownShift' | 'allShifts'

## Response `200`

OK

- unknown

## Changes

- **2026-11-18** `d4c8b1b425e6`: 1 info
  - added the new optional request property `permissions/locationFeatures`
- **2026-11-18** `6cf3608b1494`: 1 info
  - added the new optional request property `permissions/locationPricing`
- **2026-11-18** `6640c57826bc`: 1 info
  - added the new optional request property `permissions/paymentSetup`
- **2026-11-18** `45e314115868`: 1 info
  - added the new optional request property `permissions/role`
- **2026-11-18** `625fba462f19`: 1 info
  - added the new optional request property `permissions/table`

[Operation history](https://skmtc.dev/fortis/apis/fortune-os-api/changes/api/public/v1/roles/update/post.md)

---

[API](https://skmtc.dev/fortis/apis/fortune-os-api.md) - [All operations](https://skmtc.dev/fortis/apis/fortune-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fortis/apis/fortune-os-api/revisions/522f3cea550d?raw)
