Get environment variable

http
GET /projects/{project_reference}/environments/{environment_id}/variables/{key}

Get the masked metadata of one environment variable. Requires project.read.

Parameters

NameInRequiredDescription
project_referencepathYes
environment_idpathYesEnvironment ID containing the variable.
keypathYesEnvironment variable key.

Responses

StatusDescription
200Environment variable; the value is masked
400Bad request
401Unauthorized
403Forbidden
404Not found
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.