Skip to main content
Call this API to restore a historical version of a file.

API call description

For example, a file named test.txt is currently at version 5. Call this API to restore the file to version 3. After the call succeeds, the latest version of test.txt becomes 6, and its content is identical to version 3.

Request

Basic information

request header

path parameter

query parameter

Request example

HTTP
Java
Python
PHP
Go
Node.js
C#

Response

response body

Response body example

Error codes

If an error occurs when calling this API, refer to the Global error codes document to find a solution based on the error message.