domains
POST /v1/domains/bulk-actions
Apply one action to many domains, with a result per domain.
Authentication
Send an API key as a bearer token. The key must carry the domains.dns.manage 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/domains/bulk-actions \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "action": <string<auto_renew_on, auto_renew_off, lock_on, lock_off, privacy_on, privacy_off, nameservers, contact>>, "domain_ids": <string[]> }'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
P4-061. Applies the action to each domain through the same write path as the one-domain endpoints (updateDomainSettings, setNameservers, updateDomainContact), so each row is refused for exactly the reasons, and in the words, those endpoints use. Each row is applied, no_change, refused (with message and, where the refusal is a registered one, refusal for a localized rendering), unsupported (held in a linked registrar account, named in via, whose connection cannot write this setting yet) or elsewhere (registered at another registrar no linked account holds; never sent to one). A nameserver change to a domain held in a linked account is written through that connection (the linked driver's own nameserver update, after the same empty-apex refusal) and the row carries via. One refused domain never undoes another. ⛔ At most 25 ids per call, and that is a transport bound, not a cap on the work: every row is a registrar round-trip inside this request. Send a larger selection in consecutive calls (the dashboard and MCP clients do), rendering each call's rows as they return; a longer list is refused, never silently truncated. Every change is audit-logged per domain. Requires domains.dns.manage.
Request body
| Name | Type | Required | What it is |
|---|---|---|---|
action | string<auto_renew_on, auto_renew_off, lock_on, lock_off, privacy_on, privacy_off, nameservers, contact> | Yes | — |
domain_ids | string[] | Yes | Each domain once. At most 500 for a preview, 25 for an apply. |
nameservers | string[] | No | Required for nameservers. |
force | boolean | No | For nameservers, the override for the empty-apex refusal (see setNameservers). |
contact | DomainContact | No | An ICANN registrant contact. Every field is required on write — a registrant change is one record, not a set of independently patchable fields. |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
action | string | Yes | — |
results | DomainBulkResult[] | Yes | — |
counts | object | Yes | — |
Errors this endpoint can return
401 · 403 · 422 · 429