Restore a version of a check
POST/api/v1/orgs/:org/checks/:checkUid/versions/:version/restore
Applies an applied version's definition again, through the same path as a PATCH (validation, job reconciliation, labels). This records a new version with origin user (or api) and reason restored vN. Secrets are not versioned: the check keeps its current ones. 409 when the version is a proposal or was rejected.
Request
Responses
- 200
- 400
- 401
- 404
- 409
OK
Validation error
Authentication required
Resource not found
Resource conflict