Delete Company-Level Context By ID
delete_company_level_context_by_idPermanently remove a company-level context and all linked layers, groups, and markups. Verify the context_id first with the matching list tool before deletion.
Instructions
Delete a company-level context and all its associated layers, groups, and markups. Confirm the target id with the matching show or list tool before calling. company_id defaults to the value 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 company-level 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, context_id. Procore API (v2.0): Project Management > Document Markup. Endpoint: DELETE /rest/v2.0/companies/{company_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 | |
| skip_resource_deletion | No | Query string parameter — when true, skip deletion of associated resources (markups) |