API ReferenceFile Management

Update File

PATCH/api/v1/files/{fileId}

Update file metadata such as name, description, folder location, starred status, or tags. Can also restore a file from trash.

Headers

AuthorizationstringRequired

Bearer token for authentication

Content-TypestringRequired

application/json

Path Parameters

fileIdstringRequired

The unique identifier of the file to update

Body

namestringOptional

New name for the file

descriptionstringOptional

File description

folderIdstringOptional

Move file to a different folder (null for root)

isStarredbooleanOptional

Star or unstar the file

tagsarrayOptional

List of tags for the file

actionstringOptional

Special action. Use 'restore' to restore file from trash.

PATCH/api/v1/files/{fileId}
Response