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.eyJ1c2VyX2lkIjoidWFhLWlkLTQiLCJlbWFpbCI6ImVtYWlsLTRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxNzQ2MjM0N30.mW72WzMEVGCJENcuq4yKsel0_74uCVS_AYHCnGc_4ps 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.eyJ1c2VyX2lkIjoidWFhLWlkLTQiLCJlbWFpbCI6ImVtYWlsLTRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQxNzQ2MjM0N30.mW72WzMEVGCJENcuq4yKsel0_74uCVS_AYHCnGc_4ps" \ -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: 99de1cc0-e2a8-4a86-89fd-f23b0a1c52a3 Content-Length: 47 X-Content-Type-Options: nosniff
200 OK
{ "abc": 123, "do-re-me": "far-so-la-tee" }