envvars

Update environment variable

Changed on

Update a specific environment variable for a specific project and environment.

put/api/v1/projects/{projectRef}/envvars/{env}/{name}

Request

Request body

valuestring required

The value to store. An empty string is valid and is stored as-is, not treated as a deletion.

Example request

{
  "value": "slack_123456"
}

Response

Environment variable updated successfully

successboolean required

Changes

    • info

      the endpoint scheme security secretKey was added to the API

    • info

      the endpoint scheme security apiKey was removed from the API