Preview Asset Deletion
preview_asset_deletion_projectPreview the impact of deleting a project asset by retrieving descendant counts and projections for confirmation. Read-only, no data modified.
Instructions
Returns the impact of deleting the given project asset, including the count and lightweight projections of every descendant in the subtree. Read-only — no rows are modified. The UI uses this to render the confirmation copy required by hierarchy v2. Use this when you already know which preview asset deletion you want and need its full field set. company_id and project_id default to the values set by procore_set_config when omitted, and asset_id must identify an existing parent record — resolve it with the matching list tool first. Returns a single JSON object describing the preview asset deletion. Read-only — it changes nothing in Procore. 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, asset_id. Procore API (v2.0): Core > Assets. Endpoint: GET /rest/v2.0/companies/{company_id}/projects/{project_id}/assets/{asset_id}/delete_preview
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | URL path parameter — unique identifier for the asset whose deletion is being previewed. | |
| company_id | Yes | URL path parameter — unique identifier for the company. | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| Accept-Language | No | JSON request body field — locale for localized response messages (for example: en, fr-FR, pseudo) |