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.eyJ1c2VyX2lkIjoidWFhLWlkLTI4NSIsImVtYWlsIjoiZW1haWwtMjAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMTR9.BoaNbrSbq6k5Ei3QXFvSrmvU6qbu-VBT9YyVdocAYlk 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.eyJ1c2VyX2lkIjoidWFhLWlkLTI4NSIsImVtYWlsIjoiZW1haWwtMjAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMTR9.BoaNbrSbq6k5Ei3QXFvSrmvU6qbu-VBT9YyVdocAYlk" \ -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: fe632535-ab14-4842-9c5a-f0225fcca59a Content-Length: 47 X-Content-Type-Options: nosniff