/files/{id}Update file info
Base URL https://api.vseepreview.com/api_v3
Authentication: User Token — Requires a user access token from login or SSO.
Modify file information (name, title, description)
Currently only the name field can be modified (deprecated in favor of meta.title — coming soon).
| Name | In | Type | Required | Enum | Default | Description |
|---|---|---|---|---|---|---|
X-ApiToken | header | string | yes | API token (e.g. your_api_token) | ||
X-AccountCode | header | string | yes | Account code (e.g. vclinic) | ||
id | path | string | yes | File ID (e.g. 5e1598e7-4118-47ca-84da-0923c71b6977) |
Content type: application/x-www-form-urlencoded
| Field | Type | Required | Enum | Description |
|---|---|---|---|---|
name | string | no | File name | |
meta.title | string | no | File title | |
meta.description | string | no | File description |
Example:
{
"name": "string",
"meta.title": "string",
"meta.description": "string"
}
200 — Successful updateUpdated
{
"data": {
"id": "5e1598e7-4118-47ca-84da-0923c71b6977",
"name": "test2.jpg",
"size": 184259,
"ext": "jpg",
"meta": {
"target": {
"id": "350936",
"type": "user"
},
"category": "user_document"
}
}
}
Machine-readable: OpenAPI JSON