Skip to documentation content
Developer Docs
API Reference

API Reference

Cancel all Jobs

Cancel all Pending API Jobs on your account at the start of this request, across all API keys.

POST/v1/api/job/cancel-all
Try it out

Request example

bash
curl --fail-with-body --silent --show-error --max-time 30 \
  -X POST "$NORDY_BASE_URL/v1/api/job/cancel-all" \
  -H "api-key: $NORDY_API_KEY"

Success response200 OK

JSON
{"canceled_count": 3}

Authentication

api-keystringrequired

Send the user API key in the api-key request header.

Success response

200 OK

canceled_countintegerresponserequired
Number newly canceled; zero when no eligible Jobs remain.

Notes

  • No request body is required.
  • The queued API status also includes Jobs preparing to execute, which are excluded.
  • A timeout or error may leave some Jobs canceled. Check their statuses before retrying; a new request also includes Jobs created since the previous call.

Responses and errors

StatusCodeDescription
400MULTIPLE_AUTH_CREDENTIALSSend the API key without login cookies.
401AUTHENTICATION_REQUIREDMissing or invalid API key.
403USER_SUSPENDED, PRO_SUBSCRIPTION_REQUIRED, INVALID_INPUTThe account is suspended, lacks an active Pro subscription, or cannot access the API.
500INTERNAL_ERRORAn error occurred while processing the request.