Delete Company File
delete_company_filePermanently delete a company file in Procore by providing the company ID and file ID. Verify the file ID with the list tool first, as this action cannot be undone.
Instructions
Deletes a company file for the specified Procore company. Confirm the target id with the matching show or list tool before calling. company_id defaults to the value 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 company file. 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: company_id, id. Procore API: Core > Documents. Endpoint: DELETE /rest/v1.0/companies/{company_id}/files/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — unique identifier of the Documents resource | |
| company_id | Yes | URL path parameter — unique identifier for the company. |