APIs & SDKs/shadw REST API/Promote a deployment

Promote a deployment

POSThttps://api.shadw.cloud/v1/deployments/{id}/promote

Promote (or roll back to) a deployment — instantly re-points the production alias to it. No rebuild.

Authentication

AuthorizationbearerToken

A platform API key (hive_…, created under Settings → API Keys) or a short-lived JWT minted with POST /v1/token. An API key scopes the request to the team it was created under.

Path parameters

idstringRequired

The deployment id to promote.