Roles
Edits a custom role; only the fields sent change.
Requires ManageRoles and an Idempotency-Key. permissions replaces the whole set and takes effect for every account holding the role; each permission sent must be held by both the API key and its creator. Built-in roles cannot be edited. Example: PATCH /api/v1/roles/4 { "permissions": ["ViewJobs"] }.
patch/api/v1/roles/{id}
Request
- Base URL: https://app.flexonthejob.com
- URL: https://app.flexonthejob.com/api/v1/roles/{id}
- Auth: HTTP bearer
Path parameters
idinteger required
Custom role id. Example: 4.
Request body
Response
The role after the edit.
Changes
No recorded changes to this operation across all 1 revision of this API.