organizationStructure
Update organization structure
Changed onAssigns a worker to a department by their HRIS profile ID. By default the new assignment appends to existing positions; set replace_other_positions to true to replace all current positions instead.
Token scopes: people:write
put/people/{id}/department
Request
- Base URLhttps://api.letsdeel.com/rest
- AuthHTTP bearer
Path parameters
id, string required
Hris profile ID
Query parameters
replace_other_positions, boolean
Indicates if this department position should replace all other positions or only append to the existing ones.
Request body
object required
data, People Id Department Put Request Body Content Application Json Schema Data required
Response
Successful operation.
Organization Structure Update Person Department Response200 required
data, People Id Department Put Responses Content Application Json Schema Data required
Changes
- warning
removed the optional property
errors/items/pathfrom the response with the status - warning
removed the optional property
requestfrom the response with the status - info
added the optional property
errors/items/codeto the response with the status
- warning