List an environment's variables
GET
/api/v1/deploy/environments/{id}/variablesSecret values are withheld.
On this page
Parameters
| Field | In | Type | Description |
|---|---|---|---|
idrequired | path | string |
|
format | query | string | text answers in plain text instead of JSON
|
Example request
curl -X GET "https://polaris.example.com/api/v1/deploy/environments/{id}/variables" \
-H "Authorization: Bearer $POLARIS_API_KEY"Responses
| Status | Meaning |
|---|---|
200 | OK |
Can also answer the common errors 400, 401, 403, 404, 429. See common errors