organizationStructure

Delete an Org Structure from the Organization

Changed on

Deletes an organization structure identified by its Deel identifier. 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 the structure anyway; to delete by your own external identifier, use DELETE /hris/organization_structures/external/{external_id} instead.

Token scopes: organizations:write

delete/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

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

OrganizationStructureDeleteOrganizationStructureResponse200 required

Empty response body

Changes