Skip to Content
Docs

Restore a prior version by appending it as the new current version

POST
/api/artifacts/{artifact_id}/restore

Restore a prior version by appending it as the new current version.

Not available to personal access tokens; call it from a signed-in session.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Path Parameters

artifact_id*string

Response Body

Success

Example Request
curl -X POST 'http://localhost:7091/api/artifacts/string/restore'
Example Response200
Empty