Restore a version
POST/versions/:versionKey/restoration
Restores the file content to the state captured in this version. A new version is created representing the restored state. For element template files, the request body must include the target version number.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 500
The version was restored successfully. Returns the newly created version.
The provided data is not valid.
The request lacks valid authentication credentials.
Response Headers
WWW-Authenticate
Forbidden. The request is not allowed.
The version was not found.
A conflict occurred (e.g. connector template version conflict).
An internal error occurred while processing the request.