Assign or unassign branches to a supervisor
PATCH/api/v1/supervisor/branches
Applies incremental branch assignment changes for a supervisor. Branches in addBranchIds are assigned to the supervisor and granted the required permissions. Branches in removeBranchIds are unassigned and their permissions are removed. At least one of addBranchIds or removeBranchIds must be provided, and a branch cannot appear in both.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Invalid body
Unauthorized
Forbidden access
Supervisor not found
Internal server error