NDNCI Docs
API v1API reference

Cancel a job

Request cancellation within the selected workspace. Work already accepted by an external provider may still incur a charge.

POST/v1/jobs/{jobId}/cancel

Authorization

bearerKey
AuthorizationBearer <token>

A scoped automation key authorized for the REST API.

In: header

Path Parameters

jobId*string
Formatuuid

Header Parameters

X-Ndnci-Workspace*string

Select a workspace explicitly included in this access grant.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/jobs/497f6eca-6276-4993-bfeb-53cbbbba6f08/cancel" \  -H "X-Ndnci-Workspace: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Authorization: Bearer <NDNCI_API_KEY>"
{  "success": true,  "code": "PUBLIC_JOBS_CANCEL",  "message": "Successful response",  "data": {    "accepted": true  }}

Required scope: jobs:write · Usage points: 2

Credits are charged separately for work that consumes paid services.