Updates the set of environment variables which will be made available during staging
PUT /v2/config/environment_variable_groups/staging
{ "abc": 123, "do-re-me": "far-so-la-tee" }
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyOCIsImVtYWlsIjoiZW1haWwtMjk5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5OTN9.Kw41VTCnZv1JEPQHoTH9iDpiOld0Og8EbWZlQTfxNVA Host: example.org Content-Type: application/x-www-form-urlencoded Cookie:
curl "https://api.[your-domain.com]/v2/config/environment_variable_groups/staging" -d '{ "abc": 123, "do-re-me": "far-so-la-tee" }' -X PUT \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyOCIsImVtYWlsIjoiZW1haWwtMjk5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5OTN9.Kw41VTCnZv1JEPQHoTH9iDpiOld0Og8EbWZlQTfxNVA" \ -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: Content-Length: 47 X-Content-Type-Options: nosniff