API referenceEnvironments
PATCH /environments/{slug}
Path Parameters
slug*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
curl -X PATCH "https://example.com/environments/string" \ -H "Content-Type: application/json" \ -d '{}'{ "$schema": "https://example.com/schemas/EnvironmentDTO.json", "color": "string", "createdAt": "string", "environmentId": "string", "expiresAt": "string", "isDefault": true, "isEphemeral": true, "isProduction": true, "name": "string", "orgId": "string", "slug": "string", "updatedAt": "string"}color?string
isProduction?boolean
name?string