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>"
}
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>"
}
Enter your API key in the format x-api-key <api-key>*
Environment ID
Environment
The body is of type object
.
OK
The response is of type object
.