Updates the set of environment variables which will be made available to all running apps
PUT /v2/config/environment_variable_groups/running
Name | Description | Default | Valid Values | Example Values |
---|
{ "abc": 123, "do-re-me": "far-so-la-tee" }
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxOSIsImVtYWlsIjoiZW1haWwtMjUwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjczMjM5NzR9.3pe4m4X9_mbgXuRbBSGRmXndpg8IXUAvOAb3bouzUxE Host: example.org Content-Type: application/x-www-form-urlencoded Cookie:
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.eyJ1c2VyX2lkIjoidWFhLWlkLTMxOSIsImVtYWlsIjoiZW1haWwtMjUwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjczMjM5NzR9.3pe4m4X9_mbgXuRbBSGRmXndpg8IXUAvOAb3bouzUxE" \ -H "Host: example.org" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Cookie: "
200 OK
{ "abc": 123, "do-re-me": "far-so-la-tee" }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: efe3be9b-80f2-479a-87bd-dcbfbdbd7778 Content-Length: 47 X-Content-Type-Options: nosniff