Delete Markups
delete_markupsPermanently remove specified markups from a Procore document. Provide company, project, viewer document, and markup IDs; this action cannot be undone.
Instructions
Deletes markups for a specific company, project, and document. 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 viewer_doc_id must identify an existing parent record — resolve it with the matching list tool first. Permanently removes the markup. 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, project_id, viewer_doc_id, markups. Procore API (v2.0): Project Management > Document Markup. Endpoint: DELETE /rest/v2.0/companies/{company_id}/projects/{project_id}/viewer_documents/{viewer_doc_id}/markups
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markups | Yes | JSON request body field — the markups for this Document Markup operation | |
| company_id | Yes | URL path parameter — unique identifier of the company | |
| project_id | Yes | URL path parameter — unique identifier of the project | |
| viewer_doc_id | Yes | URL path parameter — unique identifier of the viewer document |