Skip to Content
Print queue

Force print queue flush

Accesso

Membro dell’organizzazione con questo permesso:

  • printing:write

Una chiave API con scope deve avere il permesso anche tra i suoi scope.

POST
/orgs/{organizationId}/print-queue/flush

Promotes all scheduled print queue jobs to pending (due now), then schedules an immediate background run to process pending and due jobs for the organization. No-ops while printing is paused.

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

Request Body

application/json
  1. body
Default{}

Response Body

OK

application/json
  1. response
scheduled*unknown
promoted*number
Example Request
curl -X POST 'https://api.tillor.eu/orgs//print-queue/flush' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "scheduled": true,  "promoted": 0}