Update File
Rename, archive/unarchive, and/or move a file. Moving isn't a separate operation — set `folderId` and/or `phaseInstanceId` in the same request.
Notes:
- All fields are optional; only fields present in the request body are applied.
- `folderId` accepts `null` to un-file (remove from its current folder).
- The target folder must belong to the same project as the file.
- A file sits in either a folder or the root of a phase, never both. Setting `phaseInstanceId` clears `folderId` (and vice versa) unless you explicitly set both in the same request, which is rejected with `400`.
Authentication
x-api-keystring
API Key authentication via header
Path parameters
file_id
File identifier
Request
This endpoint expects an object.
name
New file name
isActive
Set to false to archive the file, or true to unarchive it
folderId
Folder to move the file into. Pass null to un-file it.
phaseInstanceId
Phase instance to move the file to the root of.
Response
Successful response
id
File identifier
name
File name
downloadUrl
URL to download the file
type
File type
updatedAt
Last update timestamp
createdAt
Creation timestamp
isActive
Whether the file is active (false if archived)
companyId
Owning company identifier
metaData
File metadata (size, MIME type, etc.) — see the File schema for the full shape
source
File source (e.g., INTERNAL)
folderId
Folder this file is filed in, if any
phaseInstanceId
Phase instance this file sits at the root of, if any
createdByUser
Errors
400
Bad Request Error
404
Not Found Error
500
Internal Server Error
