Skip to main content
POST
/
projects
/
v1
/
{id}
/
env-vars
Set environment variables
curl --request POST \
  --url https://api.case.dev/projects/v1/{id}/env-vars \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "envVars": [
    {
      "key": "<string>",
      "value": "<string>",
      "environment": "production",
      "isSecret": true,
      "description": "<string>"
    }
  ]
}
'

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Body

application/json
envVars
object[]

Response

Environment variables set