hosting
POST /v1/bulk-jobs/{bulkJobId}/pause
Pause a running bulk job.
Authentication
Send an API key as a bearer token. The key must carry the sites.view permission; a key without it is refused with 403, not 404.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X POST https://api.zinndigital.com/v1/bulk-jobs/{bulkJobId}/pause \
-H "Authorization: Bearer zdk_live_…"Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
Holds every pending item as paused (code paused), so no new site is started; items already in flight finish. resumeBulkJob carries it on. A finished job, or one already paused, is a 422. Requires sites.view plus the operation's own key.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
bulkJobId (path) | Uuid | Yes | Bulk job ID (UUIDv7). |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
id | Uuid | Yes | UUIDv7 identifier — sortable by creation time. |
org_id | Uuid | Yes | UUIDv7 identifier — sortable by creation time. |
operation | BulkOperation | Yes | What a bulk job does to each of its sites. ⛔ One job model with an operation discriminator, not eight job models. A selection, a frozen work-list, a durable pass and a per-site… |
params | BulkJobParams | Yes | The operation's arguments. Which keys are read depends on operation: plugin_install takes slugs + activate; plugin_activate, plugin_deactivate and plugin_remove take… |
selector | BulkSelector | Yes | Which sites a job targets. ⛔ There is no all. A job belongs to exactly one organization and all would span every tenant on the platform; the fleet-wide act is a staff… |
selector_value | string | Yes | — |
status | BulkJobStatus | Yes | ⛔ partial is a real outcome, not a rounding of the other two. A job where 4 of 900 sites failed is neither a success nor a failure, and reporting it as either is how a bulk… |
requested_by | string | Yes | Who asked for it. |
note | string | Yes | — |
created_at | string | Yes | — |
updated_at | string | Yes | — |
settled_at | object | Yes | When the job finished; null while it is still running. |
counts | BulkJobCounts | Yes | — |
progress | BulkJobProgress | Yes | How far along a job is, how fast it is going and how much longer it has. ⛔⛔ Every estimate here is nullable, and a null must never be rendered as 0. rate_per_minute: 0… |
waiting_for_slot | boolean | Yes | true while the job is accepted but has not started because the organization's other jobs hold both of its concurrent-job slots (P3-150). It starts by itself. |
reasons | BulkJobReason[] | Yes | Why the sites that did not get it did not: one entry per (outcome, machine code), most sites first. Empty when every site got it. The screen renders error_code through its own… |
Errors this endpoint can return
401 · 403 · 404 · 422 · 429