Skip to main content
POST
Cancel Step
Use this API to admin-cancel a specific step. The step transitions to cancelled, no downstream edges fire from it, and a step.cancelled event is emitted.

Endpoint

POST https://api.velt.dev/v2/workflow/steps/cancel

Headers

string
required
Your API key.
string
required

Body

Params

object
required
Workspace-admin RBAC is post-GA. Today this endpoint gates on the standard x-velt-auth-token only. Until role-based access lands, restrict who can call /steps/cancel inside your own application.

Example Requests

Admin-cancel a step

Response

Success Response

Failure Response

Errors: INVALID_ARGUMENT (schema validation) / FAILED_PRECONDITION (step already terminal) / NOT_FOUND.