Updates the set of environment variables which will be made available during staging
Name | Description | Default | Valid Values | Example Values |
---|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTg0IiwiZW1haWwiOiJlbWFpbC01NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MzEwMTIyfQ.VLf7Hwolno1sLLxBRXE97qdybIkIJ2o5iKX2b0Yx5H8 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.eyJ1c2VyX2lkIjoidWFhLWlkLTg0IiwiZW1haWwiOiJlbWFpbC01NUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI0MzEwMTIyfQ.VLf7Hwolno1sLLxBRXE97qdybIkIJ2o5iKX2b0Yx5H8" \ -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: fc6e4f42-4452-48b1-8c95-86336715b853 Content-Length: 47 X-Content-Type-Options: nosniff
200 OK
{ "abc": 123, "do-re-me": "far-so-la-tee" }