When enabled, all users can see their environment variables. When disabled, no users can see environment variables.
GET /v2/config/feature_flags/env_var_visibility
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NCIsImVtYWlsIjoiZW1haWwtMjQ5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.ULRENS_LzVL59n9PSfKfSlwAJoWnQDM2IocIwaY77Ts Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/config/feature_flags/env_var_visibility" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NCIsImVtYWlsIjoiZW1haWwtMjQ5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.ULRENS_LzVL59n9PSfKfSlwAJoWnQDM2IocIwaY77Ts" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "name": "env_var_visibility", "enabled": true, "error_message": null, "url": "/v2/config/feature_flags/env_var_visibility" }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 7362bdc9-4ce1-4148-b954-4021b3a61df4 Content-Length: 170 X-Content-Type-Options: nosniff