Skip to main content
GET
/
env
Retrieve environment variables
curl --request GET \
  --url https://{tenant}/env \
  --header 'X-Tyk-Authorization: <api-key>'
[
"TYK_MDCB_ANALYTICSSTORAGE_SSLINSECURESKIPVERIFY=false",
"TYK_MDCB_STORAGE_HOST=localhost",
"TYK_MDCB_LISTENPORT=9090"
]

Authorizations

X-Tyk-Authorization
string
header
required

Headers

X-Tyk-Authorization
string
required

Secret value set in sink.conf

Query Parameters

env
string

Optional environment variable name to filter by

Response

Successful retrieval of environment variables.

  • string[]
  • object

The response is of type string[].

I