Destroy Near Miss
destroy_near_missSoft-deletes a near miss record by moving it to the recycle bin, keeping it recoverable for later restoration.
Instructions
Soft-deletes the specified near miss record, moving it to the recycle bin where it remains recoverable. The near miss can be restored via the recycle bin restore endpoint. 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 near miss. 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/near_misses/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — unique identifier of the Incidents resource | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| incident_id | No | Query string parameter — unique identifier of the incident |