Browse the docs

DELETE /pending/{id}

Cancels a waiting run.

Details #

Cancels the run and returns it. The id can be its first few characters. A run that already started, expired or was cancelled answers 404.

curl -s -X DELETE -H "Authorization: Bearer $TOKEN" http://127.0.0.1:48080/pending/3f9a1c2b

Parameters #

curl --unix-socket "$SWITCHBOARD_HOME/engine.sock" -X DELETE http://localhost/pending/{id}

Cancel a waiting run. The Unix socket needs no token; loopback 127.0.0.1:48080 needs Authorization: Bearer <api-token>.

See also #