Delete Context By ID
delete_context_by_idPermanently delete a context and all its associated layers, groups, and markups using the context ID. Confirm the target ID with the matching show or list tool before calling.
Instructions
Delete a context and all its associated layers, groups, and markups using context ID. 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 context_id must identify an existing parent record — resolve it with the matching list tool first. Permanently removes the context. 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, context_id. Procore API (v2.0): Project Management > Document Markup. Endpoint: DELETE /rest/v2.0/companies/{company_id}/projects/{project_id}/contexts/{context_id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | URL path parameter — unique identifier of the company | |
| context_id | Yes | URL path parameter — unique identifier of the context | |
| project_id | Yes | URL path parameter — unique identifier of the project | |
| skip_resource_deletion | No | Query string parameter — when true, skip deletion of associated resources (markups) |