Content
Update File
Update file metadata and/or its content.
PUT
Recipes
Replace file with new file
Replace file with new file
1
1. Use a `blob` parameter to set blob fields
2
2. Update a file content to new
Set a
new to 1 in the blob to update the file content.3
3. As a result, the file is replaced with a new one.
Update file name
Update file name
1
1. Use a `blob` parameter to set blob fields
2
2. Set a new file name
Set a new file
name in the blob.3
3. As a result, the API returns a file with an updated name.
new=1
parameter. Once set, the file is deleted in the cloud storage and a new record is created. Consequently,
all file fields, except for the name, are updated in the cloud storage including the uid, size, etc.
Path Parameters
integer
required
ID of the file/blob. Generated automatically by the server after file/blob creation.
Body Parameters
object
required
Headers
string
required
A user or application session token. See Authentication page to learn more about session tokens. Must be used either QB-Token or Authorization.