Fulfillment Manager API · printing

Remove a printer: nothing more is sent to it and it is the default for nothing

POST /printers/{printerId}/remove

Remove a printer: nothing more is sent to it and it is the default for nothing; its queued jobs fail with the reason in the same commit (fulfillment.print-job-failed), and a job its agent already took finishes.

Saving it again restores it. Appends fulfillment.printer-removed. Idempotent by state: a printer is removed once, so a retry on one already removed appends nothing.

Access

Requires locations:write.

How scopes come from roles: Scopes and roles. Getting a token: Authentication and app tokens.

Retries

Idempotent by state: a printer is removed once, so a retry on one already removed appends nothing.

Why every write carries a key: Idempotency and retries.

Facts appended

  • fulfillment.print-job-failed
  • fulfillment.printer-removed

What a fact is: Facts and the journal.

AI agent tool

Agents call this as fulfillment_remove_printer (Fulfillment: Remove printer), in the printing toolset. It is marked destructive, so the agent asks before running it.

Connecting an agent: AI agents.

Example

curl
curl -X POST 'https://fulfillment.getmanifold.io/printers/prn_01a15a10-2c00-7a11-8b22-4d5e6f7a8b9c/remove' \
  -H "Authorization: Bearer $MANIFOLD_TOKEN"
JavaScript (fetch)
const response = await fetch("https://fulfillment.getmanifold.io/printers/prn_01a15a10-2c00-7a11-8b22-4d5e6f7a8b9c/remove", {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.MANIFOLD_TOKEN}` },
});
if (!response.ok) throw new Error(`${response.status}: ${await response.text()}`);
const answer = await response.json();
Response · 200 · application/json
{
  "id": "prn_01a15a10-2c00-7a11-8b22-4d5e6f7a8b9c",
  "name": "Office laser",
  "locationId": "loc_01a0f6b0-1100-7e51-8f62-7a8b9cadbec4",
  "agentId": "pag_01a15a0f-9e00-7c33-8d44-5e6f7a8b9c0d",
  "language": "pdf",
  "media": {
    "widthMm": 100,
    "heightMm": 150,
    "dpi": 300
  },
  "connection": {
    "_tag": "os-printer",
    "queue": "Brother_HL_L2350DW"
  },
  "defaultFor": [],
  "removed": true,
  "createdAt": "2026-10-15T01:14:02.871Z",
  "updatedAt": "2026-10-21T22:05:11.402Z"
}

The panel writes this call in other languages. It does not send it: Manifold's APIs do not take calls from a web page on another site, so run the call from your own code or terminal. The whole API as OpenAPI: fulfillment-manager.openapi.json. Base URL https://fulfillment.getmanifold.io.

Errors

Every refusal is a status and a JSON body whose _tag names it. A refused call changes nothing.

401

RefusalWhat it meansWhat to do
Unauthorized reason The token is missing, expired or not one Manifold issued.Get a fresh token and send the call again.
TokenAlreadyUsed tokenId A single-use app token was already spent.Mint a new token for this call.

402

RefusalWhat it meansWhat to do
SubscriptionRequired status The organization's subscription has lapsed, so writes are refused.An owner settles billing. Reads still work meanwhile.

403

RefusalWhat it meansWhat to do
PrintAgentOnly reason This call is a print agent's alone, or a person's alone. reason says which.Call it with the right credential.
TenantRequired userId The token names no organization.Choose the organization, then get a new token.
ScopeRequired required The token's roles do not grant the scope this call needs.Ask an owner or admin for a role that grants it.

404

RefusalWhat it meansWhat to do
PrinterNotFound printerId No printer of this organization has that id.List the site's printers and use one of theirs.

409

RefusalWhat it meansWhat to do
MirroredFromSource source This area is fed by your source system until the organization goes live.Make the change in the source system, or go live first.

503

RefusalWhat it meansWhat to do
RequestLogUnavailable tokenId, reason The service could not record the request, so it did nothing.Send the same request again shortly.

How refusals work everywhere: Errors.

Used in