Update Project File
update_project_fileUpdate a Procore project file (creates a new version). Modify name, folder, description, permissions, or upload a new file. Requires file ID and project ID.
Instructions
Update the specified File (creates a new file version). Use this to update an existing Documents (only the supplied fields are changed). Updates the specified Documents and returns the modified object on success. Required parameters: id, project_id. Procore API: Core > Documents. Endpoint: PATCH /rest/v1.0/files/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — unique identifier of the Documents resource | |
| project_id | Yes | Query string parameter — unique identifier for the project. | |
| parent_id | No | JSON request body field — the ID of the parent folder to move the file to | |
| name | No | JSON request body field — the Name of the file | |
| checked_out_until | No | JSON request body field — check out a file until the specified time. Admins may reset checkout by sending "null" | |
| is_tracked | No | JSON request body field — status if a file should be tracked (true/false) | |
| explicit_permissions | No | JSON request body field — set file to private (true/false) | |
| description | No | JSON request body field — a description of the file | |
| data | No | JSON request body field — [DEPRECATED] File to use as file data. Please use upload_uuid instead. Note that it's only possible to post a file using a multipart/form-data body (see RFC 2388). Most HTTP libraries will do the r... | |
| upload_uuid | No | JSON request body field — uUID referencing a previously completed Upload. This is the recommended approach for file uploads. See Company Uploads or Project Uploads endpoints for instructions on how to use uploads. You sho... | |
| custom_field_%{custom_field_definition_id} | No | JSON request body field — value of the custom field. The data type of the value passed in corresponds with the data_type of the Custom Field Definition. For a lov_entry data_type the value passed in should be the ID of one ... |