Runs

DELETE /api/v1/runs/{runId}

Cancel a queued run. A running one cannot be interrupted.

DELETE /api/v1/runs/{runId}

Cancel a queued run. A running one cannot be interrupted.

Cancels a queued run. A running one cannot be interrupted — the worker is a separate process. Anything it already proposed is waiting in the approval queue.

Requires a key with read scope or higher.

Returns 200 on success.

Parameters

NameInTypeRequiredDescription
runIdpathstringyesThe run id returned by POST /api/v1/runs.

Example

curl -X DELETE "https://bidandscale.com/api/v1/runs/{runId}" \
  -H "Authorization: Bearer $BIDANDSCALE_API_KEY"

On this page