Skip to main content
Prisma Documentation Docs

Search documentation

Type to search this documentation.

Start deployment

POST/v1/deployments/{deploymentId}/startStart deployment

⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️

Requests VM creation and startup for the deployment. The artifact must be uploaded before calling this endpoint. Returns a preview domain that becomes reachable once the VM is running. Poll the status endpoint until running is reached.

Parameters

deploymentIdstringpathrequired

pattern ^(cpv_)?([cC][^\s-]{8,}|[a-z0-9]+)$

Responses

200Start request accepted. The preview domain is returned immediately.application/json
object
dataobjectrequired
Show child attributes
previewDomainstringrequired
Example response
{
  "data": {
    "previewDomain": "string"
  }
}
401Missing or invalid authorization token.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
403Insufficient permissions to access this resource.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
404Deployment not found.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
409The deployment is in a state that does not allow starting (e.g. artifact not uploaded, or already running).application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
429Rate limit or Compute resource limit exceeded.application/json
object
errorobjectrequired
Show child attributes
codestringrequired
hintstring
messagestringrequired
Example response
{
  "error": {
    "code": "string",
    "hint": "string",
    "message": "string"
  }
}
Documentation menu