Skip to main content
PUT
Update provider file

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

provider
string
required

External storage provider identifier, such as onedrive, sharepoint, or google_drive.

file_id
string
required

Provider-specific file or folder identifier.

Body

application/json
project_id
string<uuid>
required

Project ID used for provider write authorization.

content
string
required

Base64-encoded replacement file content. Maximum encoded size is 10 MB.

Maximum string length: 10000000

Response

Updated file

id
string
required

Provider-specific file or folder ID.

name
string
required

File or folder name.

path
string
required

Provider path for the file or folder.

mime_type
string
required

MIME type or folder for folders.

size
number
required

File size in bytes. Folders may report 0.

is_folder
boolean
required

Whether this item is a folder.

modified_at
string
required

Provider modified timestamp.

thumbnail
string

Optional provider thumbnail URL.