Promote a deployment
POST
https://api.shadw.cloud/v1/deployments/{id}/promotePromote (or roll back to) a deployment — instantly re-points the production alias to it. No rebuild.
Authentication
AuthorizationbearerTokenA platform API key (hive_…, created under Settings → API Keys) or a JWT of at most 1 hour from POST /v1/token, which is server-only once HIVE_JWT_SECRET is set. An API key scopes the request to the team it was created under.
Path parameters
idstringRequiredThe deployment id to promote.

