[Experimental]
Create deployment
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
Deprecated: use POST /v1/services/{serviceId}/deployments instead.
Creates a new deployment under the specified app. Returns a pre-signed upload URL for the artifact unless skipCodeUpload is set (which forks the active promoted deployment's artifact). Environment variables are resolved automatically from the app's attached Branch (production-class templates for the production Branch; preview-class templates for preview Branches). Manage env vars via the /v1/environment-variables endpoints, not as part of the deploy payload.
post/v1/apps/{appId}/deployments
Request
- Base URL: https://api.prisma.io
- URL: https://api.prisma.io/v1/apps/{appId}/deployments
- 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
appIdstring required
Request body
Response
Deployment created.
Changes
No recorded changes to this operation across all 1 revision of this API.