Promote to production (roll back)
Requires the editor role. Makes any ready deployment (including previews and earlier production deployments) the production one. It only switches a pointer: it takes effect immediately, without a rebuild.
Authentication
An organization API key, created in the console under Organization settings → API Keys, starting with biti_. It acts as editor and can't do anything that requires admin.
The HttpOnly session cookie set on login. Requests that change data must be same-origin (the Origin header is checked) to prevent CSRF.
Path parameters
Response
The name, start and end of the key, when triggered with an API key (CLI / CI)
First 10 characters of the key
Last 10 characters of the key
Present after success. Production deployments have the site's URL; previews use a <site>--<last 8 characters of the id> subdomain