patch https://api.safetyculture.io/documents/v1/
Uploads a new version of an existing file in Documents.
Use this endpoint to upload a new version of a file in Documents or update its metadata, such as the file name and description.
The response includes a temporary upload_url
(valid for 20 minutes), which you must use to upload the file’s binary content and complete the update. It is only returned when you're uploading a new file.
If a new file is uploaded, a new version is created. The latest version replaces the old one and previous versions are kept in the version history.
Requirements
- SafetyCulture Premium Plan or Enterprise Plan
- "Documents: Administration" permission
- Full seat
- "Edit" document access
You can upload files up to 50MB in DOCX, DOC, JPEG, JPG, PNG, PDF, XLS, and XLSX formats.