Destroy Witness Statement
destroy_witness_statementPermanently deletes a specified witness statement from a Procore project. Confirm the ID with the list tool first, as this action cannot be undone.
Instructions
Sends the specified Witness Statement to the Recycle Bin. 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 id must identify an existing parent record — resolve it with the matching list tool first. Permanently removes the witness statement. 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, id. Procore API: Project Management > Incidents. Endpoint: DELETE /rest/v1.0/projects/{project_id}/incidents/witness_statements/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — witness Statement ID | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| incident_id | No | Query string parameter — unique identifier of the incident |