Cancel Step
Steps
Cancel Step
POST
Cancel Step
Use this API to admin-cancel a specific step. The step transitions to
Errors:
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
Your API key.
Your Auth Token.
Body
Params
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
INVALID_ARGUMENT (schema validation) / FAILED_PRECONDITION (step already terminal) / NOT_FOUND.

