Recycles A Material Requirement.
recycles_a_material_requirementDelete a material requirement permanently, with the option to recycle its associated items when they aren't linked to other documents.
Instructions
Recycles a material requirement. When recycle_items is false, only the requirement document is recycled. When recycle_items is true, associated items in resource_project are also recycled. If the items on the requirement are connected to other documents, the items cannot be recycled. Fails with 400 if the requirement is in Final state. Confirm the target id with the matching show or list tool before calling. company_id and project_id default to the values set by procore_set_config when omitted, and id must identify an existing parent record — resolve it with the matching list tool first. Permanently removes the recycles a material requirement. 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: id, company_id, project_id. Procore API (v2.0): Resource Management > Materials Management. Endpoint: DELETE /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/material_requirements/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — material requirement ID | |
| company_id | Yes | URL path parameter — the company identifier | |
| project_id | Yes | URL path parameter — the project identifier | |
| recycle_items | No | Query string parameter — if true, also recycle items in resource_project for this requirement's lines; default false |