Update an environment
curl --request PUT \
--url https://api.cloud.flexprice.io/v1/environments/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>",
"type": "<string>"
}
'{
"created_at": "<string>",
"id": "<string>",
"name": "<string>",
"type": "<string>",
"updated_at": "<string>"
}curl --request PUT \
--url https://api.cloud.flexprice.io/v1/environments/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"name": "<string>",
"type": "<string>"
}
'{
"created_at": "<string>",
"id": "<string>",
"name": "<string>",
"type": "<string>",
"updated_at": "<string>"
}