Skip to main content
POST
Restore File Version

Authorizations

Authorization
string
header
required

API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.

Path Parameters

companyId
string<uuid>
required

Company identifier

fileId
string<uuid>
required

File identifier

versionId
string<uuid>
required

File version identifier

Response

Version restored — it is now the file's current version

fileId
string<uuid>

Id of the file (unchanged)

currentVersionId
string<uuid>

Id of the version that is now current (the restored version)