Delete Workflow
Delete a workflow and hide it from all list and get endpoints.
The workflow is soft-deleted: its data (including runs and their outputs)
is retained for audit and GDPR-purge purposes but is no longer accessible
via the API. Subsequent GET, PUT, PATCH, or run requests on the
same ID return 404. Requires at least editor role.
Authentication
AuthorizationBearer
Clerk JWT token
OR
AuthorizationBearer
Onepin live API key (op_live_...). Test and public keys are reserved in Phase 1.
Path parameters
workflow_id
Headers
X-Workspace-Id
Response
Successful Response
data
meta
Errors
422
Unprocessable Entity Error

