[Experimental]
Promote deployment
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
Promotes a deployment to be the active deployment behind the service's stable endpoint. The deployment must be running. Returns the service endpoint domain.
post/v1/services/{serviceId}/promote
Request
- Base URL: https://api.prisma.io
- URL: https://api.prisma.io/v1/services/{serviceId}/promote
- Auth: one of:
- OAuth 2 (authorization code, authorization URL https://auth.prisma.io/authorize, token URL https://auth.prisma.io/token, scopes: workspace:admin, offline_access)
- HTTP bearer
Path parameters
serviceIdstring required
Request body
Response
Deployment promoted to service endpoint. The reassignedDomains field indicates how many custom domains were moved from the previously-promoted deployment to the new one.
Changes
No recorded changes to this operation across all 1 revision of this API.