Publishing
Delete workspace
Discard the draft. Cascades identity delete when the app was never published.
DELETE
Delete workspace
DELETE https://api-datahub.octoparse.com/v1/data-apps/{app_id}/workspace
Authentication: API key required (Authorization: Bearer <API Key>). App author only; others get 404.
Discard the draft. If the app has no releases, the identity is cascade-deleted (no unpublished empty shells are kept; historical name bindings still apply for anti-squatting). Build snapshots are retained and cleaned up by GC.
Missing draft does not always short-circuit to 404: an identity with no draft and zero releases (historical orphan) still goes through cascade cleanup, otherwise orphans could never be removed. 404 only when there is no draft but releases already exist.
Request
Path parameters
string
required
App reference.
Example request
Response
200 success
data. Fields:
boolean
required
Whether the draft was deleted.
boolean
—
Errors
Error responses use
{"error": {code, category, message, retryable}}. See Errors.