organizationStructure

Update an existing HRIS Org Structure

Changed on

Avoid this endpoint for team changes. Use the single-team endpoints instead: POST /hris/organization-structures/{hris_org_structure_id}/teams, PATCH or DELETE /hris/organization-structures/teams/{team_id}. Here a team sent with only its id is deleted, and one call can rename, move or delete many teams. Use this only for the structure name or settings, or a deliberate bulk change to the whole hierarchy.

Token scopes: organizations:write

patch/hris/organization_structures/{hris_org_structure_id}

Request

  • Base URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Path parameters

hris_org_structure_id, string required

Org Structure

Request body

object required
data, HrisOrganizationStructuresHrisOrgStructureIdPatchRequestBodyContentApplicationJsonSchemaData

Response

Successful operation

OrganizationStructureUpdateOrganizationStructureResponse200 required

Empty response body

Changes

    • info

      added the new optional request property data/teams/items/children

    • info

      added the new optional request property data/teams/items/externalId

    • info

      added the new optional request property data/teams/items/id

    1 more change in this revision