PUT
/
environments
/
{environment_id}
curl --request PUT \
  --url https://api.schematichq.com/environments/{environment_id} \
  --header 'Content-Type: application/json' \
  --header 'X-Schematic-Api-Key: <api-key>' \
  --data '{
  "environment_type": "development",
  "name": "<string>"
}'
{
  "data": {
    "created_at": "2023-11-07T05:31:56Z",
    "environment_type": "<string>",
    "id": "<string>",
    "name": "<string>",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "params": {}
}

Authorizations

X-Schematic-Api-Key
string
headerrequired

Path Parameters

environment_id
string
required

environment_id

Body

application/json
environment_type
enum<string> | null
Available options:
development,
staging,
production
name
string | null

Response

200 - application/json
data
object
required
params
object
required

Input parameters