Deploy a site
Builds and publishes the site’s current main branch to production. Asynchronous: responds 202 with a pending deployment; poll GET /sites/{id}/deployments for the outcome (live or failed).
If a deploy is already in flight, that one is returned instead of starting a second build — still 202. A build this call started is pending with a null started_at; one already running is building.
Authorizations
API key in the format: Bearer {api_token}
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
255Path Parameters
The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")
Response
The queued deployment
pending, building, live, failed, superseded, unpublished 
