Printago API
PATCH
/v1/print-jobs/cancel
Cancel print jobs
Cancel job(s) that are queued or in progress. If in progress (printing), also sends the printer(s) a stop/cancel command.
Request Body
IDs of jobs to cancel
CancelPrintJobsRequest
printJobIdsrequired
string[]
sendStopoptional
boolean
Whether to also send a STOP command to the printer(s) any of these jobs
are currently on. Defaults to true. Surfaced as the "Send stop command
to the printer(s)" checkbox on the cancel confirmation. The stop is
dispatched directly to the assigned printer with no taskId/online gate —
the operator explicitly asked to stop, so we don't second-guess it from
(possibly stale) printer state. Set false to only mark the jobs cancelled
in Printago without touching the hardware.
Example Request
application/json
{
"sendStop": true,
"printJobIds": [
"string"
]
}
Response Schema
Response
value
string[]
Example Response
200 OK — application/json
[ "string" ]