Update Attachment
update_attachment_projectChange an attachment's type in Procore by supplying company, project, asset, and attachment IDs. Omitted fields remain unchanged; the updated attachment is returned.
Instructions
Updates a specific attachment. Updatable fields: attachment_type_id. Send only the fields you intend to change; omitted fields keep their current values. company_id and project_id default to the values set by procore_set_config when omitted, and asset_id, attachment_id must identify existing parent records — resolve them with the matching list tool first. Returns the modified attachment on success. 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, attachment_id. Procore API (v2.0): Core > Assets. Endpoint: PATCH /rest/v2.0/companies/{company_id}/projects/{project_id}/assets/{asset_id}/attachments/{attachment_id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | URL path parameter — unique identifier for the Asset | |
| company_id | Yes | URL path parameter — unique identifier for the company. | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| attachment_id | Yes | URL path parameter — unique identifier for the Attachment | |
| Accept-Language | No | JSON request body field — locale for localized response messages (for example: en, fr-FR, pseudo) |