Update Environment

Notes:
Environment names must be unique.

🚧

Authentication

All BigPanda APIs require Bearer Token Authorization in the call headers.

This API uses the User API Key type of Authorization token.

Sample Call

curl --request PATCH \
     --url https://api.bigpanda.io/resources/v2.0/environments/${id} \
     --header 'Authorization: Bearer <User API Key>' \
     --header 'Content-Type: application/json' \
     --data '{
      "name": "Dev Impacts",
      "filter": "source_system = 'api.corecorecore' AND host = 'hostush-2' AND zero_impact != 'false'"
      }'
curl --request PATCH \
     --url https://eu-api.bigpanda.io/resources/v2.0/environments/${id} \
     --header 'Authorization: Bearer <User API Key>' \
     --header 'Content-Type: application/json' \
     --data '{
      "name": "Dev Impacts",
      "filter": "source_system = 'api.corecorecore' AND host = 'hostush-2' AND zero_impact != 'false'"
      }'
Language