Restore a test-case version

Restores a prior snapshot as the latest version of a case in the authenticated project.
The selected version must belong to that case. The latest version cannot restore itself.
The repository must support the restore and publication path; repository readiness can prevent the write.
The response contains the latest version, not a promise that repository publication has finished.
Requires the TestCase:Update permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

ID of the requested test asset.

integer
required

Version number of the selected test case, not a version record ID.

Headers
string

Optional account UUID for selecting account context explicitly.

int64

Optional organization ID for selecting organization context explicitly.

int64
required

True Platform project ID, not a repository ID.

Responses

401

Authentication is missing or invalid.

403

The caller lacks access or the required permission.

404

The requested asset was not found. Some inaccessible or deleted assets can instead return 400 or 403.

default

The request could not be completed. Inspect the response before retrying a mutation.

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Choose an example:
application/json