Physically removes the segment and its active and previously deleted cost codes from the company's current definition.
Referenced data prevents deletion: HTTP 400 with error code JobCostSegmentInUse; remove editable references or contact support to retain historical data.
A failed deletion leaves the definition, segment indexes and cost codes unchanged.
An absent segment, including a repeated deletion, or a segment outside the company's current definition returns HTTP 404.
NOTE: Purpose of this endpoint is to set up initial company job costing, later changes may lead to issues.
Access: System, Admin, and ClientAdmin users with access rights to the company.
Employee call will return Forbidden result even for Employee own company.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
204Segment and all its stored cost codes removed.
