organizationStructure
Delete an Org Structure from the Organization
Changed onDeletes 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 URLhttps://api.letsdeel.com/rest
- AuthHTTP 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
Organization Structure Delete Organization Structure Response200 required
Empty response body
Changes
- info
added the new optional
queryrequest parameterforce
- info