axonpush
API referenceEnvironments

POST /environments/{slug}/promote

POST
/environments/{slug}/promote

Path Parameters

slug*string

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/environments/string/promote"
{  "$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"}