organizationStructure

Delete an Org Structure from the Organization by external ID

Changed on

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

delete/hris/organization_structures/external/{external_id}

Request

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

Path parameters

external_id, string required

External ID

Query parameters

force, boolean

Set to true to delete the structure even when profiles are still assigned to it. Defaults to false, which refuses the deletion in that case.

Response

Successfully deleted

OrganizationStructureDeleteOrganizationStructureByExternalIdResponse200 required

Empty response body

Changes

    • warning

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

    • 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

    10 more changes in this revision