Skip to main content
PATCH
/
projects
/
{project_reference}
/
deployments
/
{deployment_id}
Update Deployment
curl --request PATCH \
  --url https://api.veryfront.com/projects/{project_reference}/deployments/{deployment_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "release_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "release": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "environment": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "<string>",
  "updated_at": "<string>"
}

Authorizations

Authorization
string
header
required

Authentication via JWT token or API key. JWT: Get from Veryfront dashboard. API Key: Format "vf__" - create via /api-keys endpoint.

Path Parameters

project_reference
string
required

Project ID or slug

deployment_id
string<uuid>
required

Body

application/json
release_id
string<uuid>

New release ID

environment_id
string<uuid>

New environment ID

Response

Deployment updated successfully

id
string<uuid>
required
release
string<uuid>
required
environment
string<uuid>
required
created_at
string
updated_at
string