List environment variables

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

List the variables of an environment, with masked values. Requires project.read.

Parameters

NameInRequiredDescription
project_referencepathYes
environment_idpathYesEnvironment ID containing the variable.
cursorqueryCursor for pagination (environment variable ID).
limitqueryMaximum number of environment variables to return. Defaults to 20 and is capped at 100.
sort_byquerySort field. Defaults to "key".
sort_orderquerySort order. Defaults to "asc".
keysquery

Responses

StatusDescription
200One page of the environment variables, values masked
400Bad request
401Unauthorized
403Forbidden
404Not found
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.