Delete A Direct Cost Line Item
delete_a_direct_cost_line_itemPermanently remove a direct cost line item from a project. Verify the direct cost and line item IDs with the list tool first to avoid 404 errors.
Instructions
Delete a specified Direct Cost Line Item. This action does not support concurrent requests. If there is an attempt to delete a Direct Cost Line Item that belongs to a Direct Cost which is being updated or deleted by another request, a 409 Conflict error will be returned. Confirm the target id with the matching show or list tool before calling. project_id defaults to the value set by procore_set_config when omitted, and direct_cost_id, id must identify existing parent records — resolve them with the matching list tool first. Permanently removes the direct cost line item. This cannot be undone, and a repeat call returns 404. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: project_id, direct_cost_id, id. Procore API: Construction Financials > Project Level Direct Costs. Endpoint: DELETE /rest/v1.0/projects/{project_id}/direct_costs/{direct_cost_id}/line_items/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — direct Cost Line Item ID | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| direct_cost_id | Yes | URL path parameter — unique identifier of the direct cost |