[Experimental]
Acquire Alchemy deploy lease
⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
Acquires the deploy lease for a (branch, stack, stage). An expired lease is replaced atomically; a live lease fails fast with 409 naming the current holder — there is no queueing. Every Alchemy state operation requires a live deploy lease.
post/v1/projects/{projectId}/branches/{branchId}/alchemy-state/lease
Request
- Base URL: https://api.prisma.io
- URL: https://api.prisma.io/v1/projects/{projectId}/branches/{branchId}/alchemy-state/lease
- 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
projectIdstring required
branchIdstring required
Request body
Response
Acquired the deploy lease.
Changes
No recorded changes to this operation across all 1 revision of this API.