Delete Project File
delete_project_fileDelete a project file in Procore by specifying the file and project IDs. The file is moved to the recycle bin and can be permanently removed. Confirm the file ID first to avoid errors.
Instructions
Delete the specified File by moving it to the recycle bin. Confirm the target id with the matching show or list tool before calling. id must identify an existing parent record — resolve it with the matching list tool first. Permanently removes the project 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: id, project_id. Procore API: Core > Documents. Endpoint: DELETE /rest/v1.0/files/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — unique identifier of the Documents resource | |
| project_id | Yes | Query string parameter — unique identifier for the project. |