---
title: "Update an existing HRIS Org Structure"
method: PATCH
path: "/hris/organization_structures/{hris_org_structure_id}"
tags: ["organizationStructure"]
---

# Update an existing HRIS Org Structure

`PATCH /hris/organization_structures/{hris_org_structure_id}`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/hris/organization_structures/{hris_org_structure_id}`
- Auth: HTTP bearer

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`

## Path parameters

- `hris_org_structure_id` string, required

## Request body

- object
  - `data` HrisOrganizationStructuresHrisOrgStructureIdPatchRequestBodyContentApplicationJsonSchemaData
    - `name` string: Name of the Org Structure
    - `teams` HrisOrganizationStructuresHrisOrgStructureIdPatchRequestBodyContentApplicationJsonSchemaDataTeamsItems[], required: Teams to create, update or delete. Items with an id update that team and items without one create a team. A top-level item with only an id deletes that team, which is rejected while the team or its descendants have positions. Teams not listed are left untouched. The parent of a team is expressed by nesting it in children.
      - `id` string: ID of an existing team to update. Omit to create a new team. A top-level item with an id and no name deletes that team.
      - `name` string: Name of the team. Required to create or update a team; omit it, and send only the id, to delete the team.
      - `children` HrisOrganizationStructuresHrisOrgStructureIdPatchRequestBodyContentApplicationJsonSchemaDataTeamsItemsChildrenItems[]: Teams nested under this team. A team is a child of the item it is nested under; teams at the top level of the teams array are root teams.
      - `externalId` string, nullable: External ID of the team. To set or clear one team's external ID, use PATCH /rest/hris/organization-structures/teams/{team_id}.
    - `external_id` string: External ID of the Org Structure
    - `enable_roles` boolean: Enable roles for the Org Structure
    - `is_multiselect` boolean: Enable multiselect for the Org Structure

## Response `200`

Successful operation

- OrganizationStructureUpdateOrganizationStructureResponse200: Empty response body

## Other responses

- `400`: Operation failed.
- `401`: Operation failed.
- `403`: Operation failed.
- `404`: Operation failed.
- `500`: Operation failed.

## Changes

- **2026-10-30** `24d75e281de8`: 4 info
  - added the new optional request property `data/teams/items/children`
  - added the new optional request property `data/teams/items/externalId`
  - added the new optional request property `data/teams/items/id`
  - added the new optional request property `data/teams/items/name`

[Operation history](https://skmtc.dev/deel/apis/hris-endpoints/changes/hris/organization_structures/:hris_org_structure_id/patch.md)

---

[API](https://skmtc.dev/deel/apis/hris-endpoints.md) - [All operations](https://skmtc.dev/deel/apis/hris-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/hris-endpoints/revisions/b7b456c45a40?raw)
