Skip to main content
POST
/
applications
/
v1
/
projects
/
{id}
/
deployments
Create deployment
curl --request POST \
  --url https://api.case.dev/applications/v1/projects/{id}/deployments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "environmentVariables": [
    {
      "key": "<string>",
      "value": "<string>",
      "target": [
        "production"
      ],
      "type": "encrypted"
    }
  ]
}
'

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Project ID

Body

application/json
environmentVariables
object[]

Additional environment variables to set or update before deployment

Response

Success