---
title: "Delete an Org Structure from the Organization by external ID"
method: DELETE
path: "/hris/organization_structures/external/{external_id}"
tags: ["organizationStructure"]
---

# Delete an Org Structure from the Organization by external ID

`DELETE /hris/organization_structures/external/{external_id}`

## Request

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

Deletes an organization structure identified by the external identifier your own system uses for it, so the Deel identifier is not needed. This action is irreversible. By default the deletion is checked against profiles still assigned to the structure, and that check can be overridden to remove it anyway; to delete by Deel identifier, use DELETE /hris/organization_structures/{hris_org_structure_id} instead.

 **Token scopes**: `organizations:write`

## Path parameters

- `external_id` string, required

## Query parameters

- `force` boolean

## Response `200`

Successfully deleted

- OrganizationStructureDeleteOrganizationStructureByExternalIdResponse200: Empty response body

## Other responses

- `400`: Bad request - The provided externalId parameter is invalid or missing.
- `401`: Operation failed.
- `403`: Operation failed.
- `404`: Not found - No organization structure exists for the provided externalId.
- `500`: Operation failed.

## Changes

- **2026-11-19** `a891bb40a1e1`: 4 warning, 9 info
  - removed the optional property `errors/items/path` from the response with the `400` status
  - removed the optional property `errors/items/path` from the response with the `404` status
  - removed the optional property `request` from the response with the `400` status
  - removed the optional property `request` from the response with the `404` status
  - …9 more

[Operation history](https://skmtc.dev/deel/apis/hris-endpoints/changes/hris/organization_structures/external/:external_id/delete.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)
