PUT
/
environments
/
{id}
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>"
}

Authorizations

x-api-key
string
header
required

Enter your API key in the format x-api-key <api-key>*

Path Parameters

id
string
required

Environment ID

Body

application/json
Environment
name
string
type
string

Response

200
application/json
OK
created_at
string
id
string
name
string
type
string
updated_at
string