axonpush
API referenceEnvironments

POST /environments

POST
/environments

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/environments" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "$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"}