Skip to content
Alphahelmstudio is early software: things will change, and some will break.What's newReport an issue

Delete one of the caller's workflows

DELETE
/v1/studio/workflows/{workflow_id}
curl --request DELETE \
--url http://localhost:8300/v1/studio/workflows/example \
--header 'Authorization: Bearer <token>' \
--header 'x-api-key: <x-api-key>'

409 while a run of it is queued or running (a run of this workflow is unfinished; cancel it or wait) or a batch of it is queued, running or paused (a batch of this workflow is unfinished; stop it or wait), and for a template id. Past runs, batches and takes keep their snapshots; reuse of their takes answers workflow_status: deleted. Deleting again is 404.

workflow_id
required
string

Workflow id (unknown or malformed = 404)

Deleted

Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Not found

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

The resource’s state forbids this

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}

Retryable

Media typeapplication/json
object
detail
required
string

Example generated

{
"detail": "example"
}