Updates the set of environment variables which will be made available to all running apps
Name | Description | Default | Valid Values | Example Values |
---|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgxIiwiZW1haWwiOiJlbWFpbC01MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MzEwMTIyfQ.F0AgrXqXFHxxGL3Olrnd_h8DAC1pl18LfNIyZNDy-Nc Host: example.org Content-Type: application/x-www-form-urlencoded Cookie:
PUT /v2/config/environment_variable_groups/running
{ "abc": 123, "do-re-me": "far-so-la-tee" }
curl "https://api.[your-domain.com]/v2/config/environment_variable_groups/running" -d '{ "abc": 123, "do-re-me": "far-so-la-tee" }' -X PUT \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgxIiwiZW1haWwiOiJlbWFpbC01MkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MzEwMTIyfQ.F0AgrXqXFHxxGL3Olrnd_h8DAC1pl18LfNIyZNDy-Nc" \ -H "Host: example.org" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Cookie: "
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 842f696d-a675-4bbf-afd7-106915cfa030 Content-Length: 47 X-Content-Type-Options: nosniff
200 OK
{ "abc": 123, "do-re-me": "far-so-la-tee" }