Create a new environment
Creates a new environment within the specified organization. Environments serve as containers for packages and provide a logical grouping for related data models.
Authorization: Requires organization admin permissions. Validation: Environment names must be unique within the organization. Side Effects: Creates default environment permissions and initializes environment structure.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the organization Standard identifier pattern for resource names
^[a-zA-Z0-9_ -]+$Body
Represents a environment entity that serves as a container for packages and related resources
The unique name of the environment within its organization
^[a-zA-Z0-9_ -]+$Markdown-formatted documentation describing the environment's purpose and contents
ISO 8601 timestamp indicating when the environment was created
ISO 8601 timestamp indicating when the environment was last modified
Number of replicas for high availability and performance. When sent on create, this value is stored as-is (within min/max). When omitted on create, Credible manages it for you. When omitted on update, the existing value is left unchanged.
1 <= x <= 10Response
Environment created successfully
Represents a environment entity that serves as a container for packages and related resources
The unique name of the environment within its organization
^[a-zA-Z0-9_ -]+$Markdown-formatted documentation describing the environment's purpose and contents
ISO 8601 timestamp indicating when the environment was created
ISO 8601 timestamp indicating when the environment was last modified
Number of replicas for high availability and performance. When sent on create, this value is stored as-is (within min/max). When omitted on create, Credible manages it for you. When omitted on update, the existing value is left unchanged.
1 <= x <= 10