Create an environment
Creates a new environment.
POST/v3/environments
JWTenvironment:write
Request body
namestringrequired
Name of the environment. Letters (a-z, A-Z), numbers, underscores, hyphens, dots and spaces. Cannot start or end with a space.
Length: [1,256]Pattern: ^[a-zA-Z0-9_.-]+( +[a-zA-Z0-9_.-]+)*$
descriptionstring
Description of the environment. Any printable characters and line breaks. Cannot contain control characters other than tab, carriage return and line feed, nor invisible formatting characters (zero-width and bidirectional marks), and cannot start or end with whitespace.
Length: [0,256]Pattern: ^(?!\s)(?![\s\S]*\s$)(?:[^\p{Cc}\p{Cf}\p{Zl}\p{Zp}]|[\t\n\r])+$
Response
201
400
401
403
409
429
500
201 Created
idstringrequired
namestringrequired
typestringrequired
Allowed values: production, sandbox
createdAtstringrequired
Format: date-time
updatedAtstringrequired
Format: date-time
descriptionstring