Skip to main content
POST
Rotate deployment credential

Authorizations

Authorization
string
header
required

Bearer token: an organization API key (ak_…) created under Settings → API Keys, or a dashboard user session token. Proxy keys (xe_…) are not accepted here. Endpoints marked as user-only in their description reject organization keys with 403.

Headers

X-Request-ID
string | null

Path Parameters

deployment_id
string<uuid>
required

Response

Successful Response

Returned exactly once at create/rotate time — carries the one-time bootstrap token. It is never retrievable again (only its hash is stored).

deployment
DeploymentRead · object
required
bootstrap_token
string
required
bootstrap_expires_at
string<date-time>
required