Home
Version 3
Environment Variable Groups API

Environment Variable Groups API

Getting the contents of the running environment variable group

GET /v2/config/environment_variable_groups/running

returns the set of default environment variables available to running apps

Fields

Name Description Default Valid Values Example Values

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0MiIsImVtYWlsIjoiZW1haWwtMTEyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4NzJ9.s9OPVff04WSx4jy_c0WO6e_QvI7ja9DyZ7K9A98Ez58
Host: example.org
Cookie: 

Route

GET /v2/config/environment_variable_groups/running

cURL

curl "https://api.[your-domain.com]/v2/config/environment_variable_groups/running" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0MiIsImVtYWlsIjoiZW1haWwtMTEyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4NzJ9.s9OPVff04WSx4jy_c0WO6e_QvI7ja9DyZ7K9A98Ez58" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: af0091bb-8155-46c7-95ab-a17264762588
Content-Length: 47
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "abc": 123,
  "do-re-me": "far-so-la-tee"
}