Provisioning API · Alpha / open for testing
Remove one sequencer destination
const url = 'https://api.builders.ac/api/provisioning/v1alpha1/domains/dom_01k5nb3wz7q2hj8vd4rt6ye9ma/sequencers/pra_01jsdqrf91f949ybjwh90xde9g';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.builders.ac/api/provisioning/v1alpha1/domains/dom_01k5nb3wz7q2hj8vd4rt6ye9ma/sequencers/pra_01jsdqrf91f949ybjwh90xde9g \ --header 'Authorization: Bearer <token>'Remove only the named account binding and its local mailbox links, preserving other destinations. Remote mailboxes are not deleted. If the removed account owns warmup, warmup is turned off asynchronously before the binding is removed: 202 returns the domain; poll getDomain until the entry disappears. Otherwise returns 204. Requires permission to manage sequencers in the Workspace and sealed proof. Proof is obtained on demand: first send this exact request without Sealed-Proof, open the Sealed-Nonce from the 403 response, then retry without changing the request.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Domain TypeIDs are accepted case-insensitively. Responses use canonical lowercase.
Provider account TypeIDs are accepted case-insensitively. Responses use canonical lowercase.
Header Parameters
Section titled “Header Parameters”The one-time plaintext obtained by opening the Sealed-Nonce challenge for this exact request. Omit it initially; after a 403 challenge, retry with the same method, route, resources, query, body, credential, and Idempotency-Key.
Responses
Section titled “Responses”Warmup shutdown started. Poll the domain until the named sequencer is removed.
object
Where the domain is in its lifecycle. pending is accepted but not started; provisioning is in flight; awaiting_nameservers is waiting for the nameservers this API issued to be delegated at the registrar; active is live; failed needs a retry; deprovisioning and deprovisioned are teardown. Read-only: it moves through the actions, never through PATCH.
Whether we can act on the registration. spaceship: registered through our own registrar account, so nameservers and renewal are ours to change. external: held elsewhere, and the customer must act. unknown: no registrar recorded.
The nameservers this domain must be delegated to. Empty until the connect operation has issued them.
Empty when no health check has ever finished for this domain.
object
failing means the check ran and found a problem; unmeasured means it could not be run, which is not the same thing.
Present on other, carrying the raw internal signal so a new one is never silently invisible.
The automatic redirect served on the domain. Null when no target is set.
object
redirect serves a 301 to the target; clone serves a copy of it on the domain itself.
active: the edge Worker is confirmed serving it. deploying: on its way. failed: the last redirect or clone operation for this domain failed.
Every bound sequencer and its mailbox upload counts. Adding a binding preserves all other entries. At most one account of each provider; at most one warmup owner.
A bound sequencer destination with its workspace and inbox connection counts. The plural sequencers array includes every destination; the deprecated singular sequencer field selects the warmup owner or oldest binding.
object
Present in sequencers entries: whether this account owns warmup for this domain.
The workspace at the sequencer that inboxes on this domain are connected to.
How many of this domain’s inboxes are connected to that workspace, waiting to be connected, and no longer connected. An inbox that was never linked is in none of the three.
object
A bound sequencer destination with its workspace and inbox connection counts. The plural sequencers array includes every destination; the deprecated singular sequencer field selects the warmup owner or oldest binding.
object
Present in sequencers entries: whether this account owns warmup for this domain.
The workspace at the sequencer that inboxes on this domain are connected to.
How many of this domain’s inboxes are connected to that workspace, waiting to be connected, and no longer connected. An inbox that was never linked is in none of the three.
object
Sealed to the request API Key on GET /domains/{dom} and PUT /domains/{dom}/sequencer. Omitted from OAuth MCP sequencer-binding responses and for a viewer; never in a list or on a deprovisioned domain.
object
An ASCII-armored age v1 file. Response values are sealed to the API Key used for the request; request values are sealed to a recipient published by GET /encryption-keys.
Your own id for this domain. Unique per account among live domains, set once and immutable afterwards, released when the domain is deprovisioned.
Example
{ "id": "dom_01k5nb3wz7q2hj8vd4rt6ye9ma", "object": "domain", "workspace_id": "wsp_01k5n2rf8bd3xa9e7m4jt6vq5h", "name": "northwind-outbound.com", "state": "pending", "registrar": "spaceship", "registered_on": "2026-01-22", "expires_on": "2027-01-22", "nameservers": [ "dara.ns.cloudflare.com", "rex.ns.cloudflare.com" ], "health": [ { "check": "nameservers", "status": "ok" } ], "health_checked_at": "2026-04-16T10:58:12Z", "redirect": { "target_url": "https://www.northwind-labs.com", "mode": "redirect", "state": "deploying", "cloned_at": "2026-04-16T10:44:09Z" }, "sequencers": [ { "provider_account_id": "pra_01jsdqrf91f949ybjwh90xde9g", "provider": "smartlead", "workspace": "Northwind Outbound", "inboxes": { "uploaded": 3, "pending": 0, "disconnected": 0 } } ], "sequencer": { "provider_account_id": "pra_01jsdqrf91f949ybjwh90xde9g", "provider": "smartlead", "workspace": "Northwind Outbound", "inboxes": { "uploaded": 3, "pending": 0, "disconnected": 0 } }, "smtp_password": { "ciphertext": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBHd0pQTGdGMlkxSjhkUzBu\nCg==\n-----END AGE ENCRYPTED FILE-----\n" }, "external_id": "crm-8421", "created_at": "2026-04-15T09:15:04Z", "updated_at": "2026-04-16T11:02:37Z"}Headers
Section titled “Headers”The id of this request, echoed on every response and repeated in the correlation_id member of a problem body. Quote it in support requests.
Sequencer binding removed.
Headers
Section titled “Headers”The id of this request, echoed on every response and repeated in the correlation_id member of a problem body. Quote it in support requests.
Authentication required. The example shows authentication_required; this status is also answered with invalid_api_key. Branch on code, not on the status.
object
Extensible enum. Branch on this, never on title. New codes may appear at any time, so treat an unrecognised one as its HTTP status; GET /problems lists every code this version can answer with, and GET /problems/{code} resolves one.
object
Example
{ "type": "https://api.builders.ac/api/provisioning/v1alpha1/problems/authentication_required", "title": "Authentication required", "status": 401, "detail": "Provide an active Provisioning API Key as a Bearer token.", "code": "authentication_required", "retryable": false, "correlation_id": "9f1c2b7a-3d5e-4c81-9a77-2f6b0e4d51c3"}Headers
Section titled “Headers”The id of this request, echoed on every response and repeated in the correlation_id member of a problem body. Quote it in support requests.
Either permission is absent, or API-secret proof is missing or invalid. A proof challenge carries a request-bound Sealed-Nonce and WWW-Authenticate; open it and retry this exact request.
object
Extensible enum. Branch on this, never on title. New codes may appear at any time, so treat an unrecognised one as its HTTP status; GET /problems lists every code this version can answer with, and GET /problems/{code} resolves one.
object
Example
{ "type": "https://api.builders.ac/api/provisioning/v1alpha1/problems/insufficient_proof", "title": "API Secret proof required", "status": 403, "detail": "Open the Sealed-Nonce with the API Secret, then retry this request with the resulting value in Sealed-Proof.", "code": "insufficient_proof", "retryable": true, "correlation_id": "9f1c2b7a-3d5e-4c81-9a77-2f6b0e4d51c3"}Headers
Section titled “Headers”A credential- and request-bound, single-use age v1 challenge. Strip age-v1., Base64URL-decode the remaining text to the binary age file, then open it with the matching API Secret.
Proof challenges are never cached.
Present as Sealed error="insufficient_proof" only for a proof challenge.
The id of this request, echoed on every response and repeated in the correlation_id member of a problem body. Quote it in support requests.
Not found. The example shows not_found.
object
Extensible enum. Branch on this, never on title. New codes may appear at any time, so treat an unrecognised one as its HTTP status; GET /problems lists every code this version can answer with, and GET /problems/{code} resolves one.
object
Example
{ "type": "https://api.builders.ac/api/provisioning/v1alpha1/problems/not_found", "title": "Not found", "status": 404, "detail": "The requested resource was not found.", "code": "not_found", "retryable": false, "correlation_id": "9f1c2b7a-3d5e-4c81-9a77-2f6b0e4d51c3"}Headers
Section titled “Headers”The id of this request, echoed on every response and repeated in the correlation_id member of a problem body. Quote it in support requests.
Request already in progress. The example shows idempotency_in_progress; this status is also answered with external_id_conflict, persona_in_use, workspace_archived, domain_not_ready, inbox_address_unavailable, operation_cancelled, resource_operation_in_progress, workspace_limit_reached, workspace_not_empty, workspace_is_default, workspace_last_active, nameservers_not_delegated, external_id_immutable, domain_already_exists, domain_unavailable, resource_quota_exceeded, domain_inbox_capacity_exceeded, domain_inbox_count_invalid, domain_not_active, domain_traffic_unavailable, domain_traffic_conflict, redirect_not_configured, domain_not_reconnectable, account_not_provisioned, domain_checkout_expired, domain_purchase_failed, provider_account_in_use, no_inboxes_to_upload, multiple_sequencers, same_provider, sequencer_limit_reached. Branch on code, not on the status.
object
Extensible enum. Branch on this, never on title. New codes may appear at any time, so treat an unrecognised one as its HTTP status; GET /problems lists every code this version can answer with, and GET /problems/{code} resolves one.
object
Example
{ "type": "https://api.builders.ac/api/provisioning/v1alpha1/problems/idempotency_in_progress", "title": "Request already in progress", "status": 409, "detail": "A request using this idempotency key is still in progress.", "code": "idempotency_in_progress", "retryable": true, "correlation_id": "9f1c2b7a-3d5e-4c81-9a77-2f6b0e4d51c3"}Headers
Section titled “Headers”The id of this request, echoed on every response and repeated in the correlation_id member of a problem body. Quote it in support requests.
The Domain’s Inboxes are on Google Workspace (google_domain_not_supported).
object
Extensible enum. Branch on this, never on title. New codes may appear at any time, so treat an unrecognised one as its HTTP status; GET /problems lists every code this version can answer with, and GET /problems/{code} resolves one.
object
Examples
Not available for Google Workspace domains
{ "type": "https://api.builders.ac/api/provisioning/v1alpha1/problems/google_domain_not_supported", "title": "Not available for Google Workspace domains", "status": 422, "detail": "This action is not available yet for Domains whose Inboxes are on Google Workspace; `domain_ids` lists them. Reads keep working. Contact support to make this change.", "code": "google_domain_not_supported", "retryable": false, "correlation_id": "9f1c2b7a-3d5e-4c81-9a77-2f6b0e4d51c3", "domain_ids": [ "dom_01k5nb3wz7q2hj8vd4rt6ye9ma" ]}Headers
Section titled “Headers”The id of this request, echoed on every response and repeated in the correlation_id member of a problem body. Quote it in support requests.
Rate limit exceeded. The example shows rate_limit_exceeded.
object
Extensible enum. Branch on this, never on title. New codes may appear at any time, so treat an unrecognised one as its HTTP status; GET /problems lists every code this version can answer with, and GET /problems/{code} resolves one.
object
Example
{ "type": "https://api.builders.ac/api/provisioning/v1alpha1/problems/rate_limit_exceeded", "title": "Rate limit exceeded", "status": 429, "detail": "Too many requests were made for this policy.", "code": "rate_limit_exceeded", "retryable": true, "correlation_id": "9f1c2b7a-3d5e-4c81-9a77-2f6b0e4d51c3", "retry_after": "2026-04-15T09:16:04Z"}Headers
Section titled “Headers”The id of this request, echoed on every response and repeated in the correlation_id member of a problem body. Quote it in support requests.
Service unavailable. The example shows service_unavailable; this status is also answered with encryption_keys_unavailable, provider_unreachable, sequencer_rate_limited. Branch on code, not on the status.
object
Extensible enum. Branch on this, never on title. New codes may appear at any time, so treat an unrecognised one as its HTTP status; GET /problems lists every code this version can answer with, and GET /problems/{code} resolves one.
object
Example
{ "type": "https://api.builders.ac/api/provisioning/v1alpha1/problems/service_unavailable", "title": "Service unavailable", "status": 503, "detail": "Retry the request later; the service is temporarily unavailable.", "code": "service_unavailable", "retryable": true, "correlation_id": "9f1c2b7a-3d5e-4c81-9a77-2f6b0e4d51c3"}Headers
Section titled “Headers”The id of this request, echoed on every response and repeated in the correlation_id member of a problem body. Quote it in support requests.