Delete Context By Query Parameters
delete_context_by_query_parametersPermanently delete a document markup context and all its associated layers, groups, and markups from a Procore project using company and project IDs.
Instructions
Delete a context and all its associated layers, groups, and markups. For PIN deletion: pass sub_context_type and sub_context_type_id. context_type and context_type_id are optional (for additional specificity). Pass skip_resource_deletion=true when the caller has already deleted external resources. Use this to permanently delete the specified Document Markup records. This cannot be undone. Permanently removes the specified Document Markup records. This action cannot be undone. Required parameters: company_id, project_id. Procore API: Project Management > Document Markup. Endpoint: DELETE /rest/v1.0/companies/{company_id}/projects/{project_id}/contexts
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | URL path parameter — unique identifier for the Procore company | |
| project_id | Yes | URL path parameter — unique identifier for the Procore project | |
| context_type | No | Query string parameter — the context type for this Document Markup operation | |
| context_type_id | No | Query string parameter — unique identifier of the context type | |
| sub_context_type | No | Query string parameter — the sub context type for this Document Markup operation | |
| sub_context_type_id | No | Query string parameter — unique identifier of the sub context type | |
| skip_resource_deletion | No | Query string parameter — skip_resource_deletion |