envvars

Retrieve environment variable

Changed on

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

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

Request

Response

Successful request

valuestring required

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

Example response

{
  "value": "slack_123456"
}

Changes

    • info

      the endpoint scheme security secretKey was added to the API

    • info

      the endpoint scheme security apiKey was removed from the API