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.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NyIsImVtYWlsIjoiZW1haWwtMjU4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjkwMzg3MTl9.GYV4Djeu_2bmYiZNjn1o_DViY5Nz-S6XqW3eh6GVxEY 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.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NyIsImVtYWlsIjoiZW1haWwtMjU4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjkwMzg3MTl9.GYV4Djeu_2bmYiZNjn1o_DViY5Nz-S6XqW3eh6GVxEY" \ -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: ee74b2e6-9f3d-4b14-9c22-6fccdd98a536 Content-Length: 47 X-Content-Type-Options: nosniff