organizationStructure

Update organization structure

Changed on

Assigns 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 URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP 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, PeopleIdDepartmentPutRequestBodyContentApplicationJsonSchemaData required

Response

Successful operation.

OrganizationStructureUpdatePersonDepartmentResponse200 required
data, PeopleIdDepartmentPutResponsesContentApplicationJsonSchemaData required

Changes

    • warning

      removed the optional property errors/items/path from the response with the status

    • warning

      removed the optional property request from the response with the status

    • info

      added the optional property errors/items/code to the response with the status