Skip to main content
PUT

Recipes

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.

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.

Update a file name, content type or file tag list. You can also update the file content by setting 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.

Responses

A successful response
object
An error response
array of strings