Skip to main content
POST
Delete Definition
Use this API to soft-delete (tombstone) a workflow definition. Tombstoned definitions are filtered from get and list. Definitions with in-flight executions cannot be deleted.

Endpoint

POST https://api.velt.dev/v2/workflow/definitions/delete

Headers

string
required
Your API key.
string
required

Body

Params

object
required

Example Requests

Delete a definition

Response

Success Response

Failure Response

Errors: NOT_FOUND (definition does not exist) / FAILED_PRECONDITION (in-flight executions exist).