Create an environment

Create a new environment.

Token Permissions: [ environments:edit ]

Body Params

The environment object.

string
required
string
boolean

Indicates whether this is the organization’s default environment. The default value is false. The valid values are:

  • true: The environment is the default.
  • false: The environment is not default.
boolean

Indicates whether this is an organization’s production environment. The default value is true. The valid values are:

  • true: The environment is a production environment.
  • false: The environment is not a production environment.

This is an immutable field. If an environment needs to be migrated, architecture can be migrated to a new environment with the desired environment type instead.

string
enum

Specify the name of the icon to use for the environment.

string

Specify the RGB hexadecimal color code for the environment's foreground.
You can use 6-digit (opaque) or 8-digit (alpha) hex color codes.

string

Specify the RGB hexadecimal color code for the environment's background.
You can use 6-digit (opaque) or 8-digit (alpha) hex color codes.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
JWT
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
application/json