Set Staff Add-on Access
Gives or removes one staff member’s access to a paid add-on. Shared rules: see Writing Data.
- Send exactly one of
location_trackingorcrm(the same keys as Get Staff Add-on Permissions):truegives access,falseremoves it. - Giving access uses one of the company’s purchased add-on seats.
- If the add-on isn’t purchased, no seats are left, or there is no active subscription, you get
403with the app’s own message. - On older plans where the add-on is part of the plan, every staff member already has access and it can’t be changed per person (
400). - The response shows the staff member’s access to both add-ons.
Custom role needs: additional_settings:edit.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Path parameters
salarybox_id
SalaryBox ID of the staff member.
Request
This endpoint expects an object.
location_tracking
true gives the staff member Location Tracking access, false removes it.
crm
true gives the staff member CRM access, false removes it.
Response
The access was updated.
message
status
data
The staff member’s resulting access to both add-ons, computed the same way as Get Staff Add-on Permissions.
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
