Create environment
POST/v1/environments
Create environment
Request​
Responses​
- 201
- 400
- 401
- 403
- 409
- 503
created
VALIDATION_ERROR
INVALID_TOKEN / INVALID_AUDIENCE / INVALID_ISSUER / TOKEN_EXPIRED / TOKEN_REVOKED / MTLS_REQUIRED
INSUFFICIENT_SCOPE (see above) or FEATURE_NOT_ENABLED — the operation is not enabled for the organization (the same permission that enables the screen in the console); details: { permission }.
CONFLICT — an active environment with this label already exists / IDEMPOTENCY_KEY_REUSED
AS_UNAVAILABLE — token verification is unavailable (Authorization Server down or configuration missing). Try again (Retry-After).