files
Move a file or update its metadata
Changed onMove or rename a file or folder, or merge metadata into a file.
Required permission: files.manage.
post/v1/projects/{project_id}/files/{environment_id}/update
Request
- Base URLhttps://api.connic.co
- AuthHTTP bearer
Path parameters
project_id, string uuid required
ID of the project the API key belongs to.
environment_id, string uuid required
Environment ID from GET /environments.
Request body
File Update Request required
path, string required
File path such as invoices/2026/acme.pdf.
new_path, string nullable
Move or rename to this path.
metadata, object nullable
Fields to merge. A null value removes a field.
Response
Successful Response
File Update Response required
moved, integer required
file, object nullable
folder, string nullable
Changes
- info
endpoint added
- info