Cancel all active jobs for a given printer.
POST/api/web/v1/prints/:printerId/cancelAllActivePrints
This API cancels the ongoing job on printer. This should be used if any job is stuck on printer i.e. the printer is not processing the job anymore and is stuck in busy state for more than 5 minutes.
Request
Path Parameters
Possible values: Value must match regular expression [a-fA-F0-9-]{32,36}
Printer Id. This can be obtained from the id value in the response of Return a Specified Printer API call.
Responses
- 200
- 401
- 404
- 500
OK
Authorization information is missing or invalid
- application/json
- Schema
- Example (from schema)
Schema
The server error code
A human-readable representation of the error
The target of the error
{
"code": "string",
"message": "string",
"target": "string"
}
The specified resource was not found
- application/json
- Schema
- Example (from schema)
Schema
The server error code
A human-readable representation of the error
The target of the error
{
"code": "string",
"message": "string",
"target": "string"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
Schema
The server error code
A human-readable representation of the error
The target of the error
{
"code": "string",
"message": "string",
"target": "string"
}