Publishing
Yank a release
Yank a version: reject new runs, stop resolving as latest. Reversible.
POST
Yank a release
POST https://api-datahub.octoparse.com/v1/data-apps/{app_id}/releases/{version}/yank
Authentication: API key required (Authorization: Bearer <API Key>). App author only; others get 404.
Version-level yank: this version rejects new runs (422 version-yanked) and is skipped when resolving latest. In-flight runs are unaffected. Detail and contract pinned to this version remain readable (callers need them for troubleshooting). No rows are deleted; builds and the audit chain stay put. Restore with the paired unyank endpoint.
Request
Path parameters
string
required
App reference.
string
required
Version number.
Example request
Response
200 success
data. Fields:
string
required
Version number.
boolean
required
Current yanked state.
Errors
Error responses use
{"error": {code, category, message, retryable}}. See Errors.