put https://api.bigpanda.io/resources/v2.0/environments-groups/
Authentication
All BigPanda APIs require Bearer Token Authorization in the call headers.
This API uses the User API Key type of Authorization token.
Environment groups
Environments can only belong to one group at a time. If an environment has not been assigned to a custom group, it will belong to the All Environments group by default.
Sample Call
curl --request PUT \
--url https://api.bigpanda.io/resources/v2.0/environments-groups/${id} \
--header 'Authorization: Bearer <User API Key>' \
--header 'Content-Type: application/json' \
--data '{
{
"name": "koko13372",
"environment_ids": [
"66572522d88f17578d90ceb2",
"665dd07429873a99abdf7543"
]
}'
curl --request PUT \
--url https://eu-api.bigpanda.io/resources/v2.0/environments-groups/${id} \
--header 'Authorization: Bearer <User API Key>' \
--header 'Content-Type: application/json' \
--data '{
{
"name": "koko13372",
"isDefault": false,
"environment_ids": [
"66572522d88f17578d90ceb2",
"665dd07429873a99abdf7543"
]
}'