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.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMSIsImVtYWlsIjoiZW1haWwtMTU5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2Mzd9.GrEAYUuO9h7dDbVPLoXEuS2BqRztCpOCQcBoMCwYAcE 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.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMSIsImVtYWlsIjoiZW1haWwtMTU5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2Mzd9.GrEAYUuO9h7dDbVPLoXEuS2BqRztCpOCQcBoMCwYAcE" \ -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: 3bfe03ac-9e10-42c6-94a0-dfb137aefd6c Content-Length: 47 X-Content-Type-Options: nosniff