Reference
//
Update employee permissio...
🔒 Private label — contact sales. Requires a private-label entitlement on your API client.
Update employee permissions
Security
oauth2ClientCredentials(Required scopes: roles:write)
- Mock serverhttps://developer.boyahq.com/_mock/v2/openapi/permissions/employees/{employee_id}
- Productionhttps://api.boyahq.com/v2/permissions/employees/{employee_id}
- Sandboxhttps://sandbox.api.boyahq.com/v2/permissions/employees/{employee_id}
curl -i -X PATCH \
'https://developer.boyahq.com/_mock/v2/openapi/permissions/employees/{employee_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'business_id: string' \
-d '{
"permissions": {
"ALLOCATIONS_INITIATE": 1,
"ALLOCATIONS_APPROVE": 1,
"BULK:PAYOUTS_INITIATE": 1,
"BUSINESS:BALANCE_VIEW": 1,
"CARDS_APPROVE": 1,
"EXPENSES_VIEW": 1
}
}'