Projects
Get one environment variable of a project by its ID
Changed onReturns the variable exactly as the list does: a regular variable's value is masked as *** and a secret's is null. Read a regular value with GET /projects/{project_id}/env-vars/{key}/value?var_id={var_id}, which needs the reveal permission and is audit-logged.
get/projects/{project_id}/env-vars/{var_id}
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
project_idinteger required
Project ID
var_idinteger required
Environment variable ID
Response
The environment variable, value masked
Changes
- breaking
the
created_atresponse's property type changed fromintegertostring, and format fromint64todate-timefor status - breaking
the
updated_atresponse's property type changed fromintegertostring, and format fromint64todate-timefor status
- breaking
- info
endpoint added
- info