Delete an Org Structure from the Organization by external ID
Changed onDeletes 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
Request
- Base URLhttps://api.letsdeel.com/rest
- AuthHTTP bearer
Path parameters
External ID
Query parameters
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
Empty response body
Changes
- warning
removed the optional property
errors/items/pathfrom the response with the status - warning
removed the optional property
errors/items/pathfrom the response with the status - warning
removed the optional property
requestfrom the response with the status
10 more changes in this revision
- warning