Open Inventory / Docs
EndpunkteLabel printingLabel print jobs

Cancel one of your waiting print jobs

Die API läuft auf deiner Anwendungsinstanz. Schemas und Feldnamen stammen unverändert aus der OpenAPI-Spezifikation. Browsergebundene Aufrufe benötigen eine Sitzung auf der Instanz.

DELETE
/label-print-jobs

Requires a browser session with labels.read. Only a queued job owned by the caller can be cancelled.

Authentifizierung

adminSession
cookieauthjs.session-token<token>

Authenticated Auth.js browser session cookie; each operation declares its required permission. Not restricted to administrators. HTTPS deployments use the secure-prefixed cookie variant.

Header-Parameter

X-Organization-ID?string

Organization membership selected for this request. User-bound credentials may select any active membership; standalone tokens may only repeat their pinned organization ID.

Formatuuid

Anfrageinhalt

application/json
  1. body
id*string
Formatuuid

Antwortinhalt

Job cancelled.

application/json
  1. response
cancelled*boolean
Beispielanfrage
curl -X DELETE 'https://inventory.example.com/api/v1/label-print-jobs' \  -H 'Content-Type: application/json' \  -d '{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"}'
Beispielantwort
{  "cancelled": true}