Updates the set of environment variables which will be made available during staging
Name | Description | Default | Valid Values | Example Values |
---|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0OSIsImVtYWlsIjoiZW1haWwtMTEyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MDN9.42GpeBN31W_JayzLIl7XIIeVn56duXphJVOAtrcRoNw Host: example.org Content-Type: application/x-www-form-urlencoded Cookie:
PUT /v2/config/environment_variable_groups/staging
{ "abc": 123, "do-re-me": "far-so-la-tee" }
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.eyJ1c2VyX2lkIjoidWFhLWlkLTE0OSIsImVtYWlsIjoiZW1haWwtMTEyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MDN9.42GpeBN31W_JayzLIl7XIIeVn56duXphJVOAtrcRoNw" \ -H "Host: example.org" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Cookie: "
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: ace6d204-2f63-48fa-8459-4ff2742b5078 Content-Length: 47 X-Content-Type-Options: nosniff
200 OK
{ "abc": 123, "do-re-me": "far-so-la-tee" }