Skip to content
Follow yggy on LinkedInFollow @yggy_tech on X

Cancel a workflow

DELETE
/api/v1/workflows/invocations/{id}
curl --request DELETE \
--url https://api.yggy.tech/api/v1/workflows/invocations/example \
--header 'Authorization: Bearer <token>'

Cancel a running or queued workflow. Waiting/delayed jobs are removed; active jobs are marked for cancellation.

id
required
string
host
string | null
x-yggy-organization-id
string | null

Cancellation requested; worker will stop at next safe checkpoint

Workflow removed from the queue

Workflow not found

Workflow already finished