createEnvironment
Creates an environment in a specified Postman workspace. Define environment variables with names, values, types, and descriptions.
Instructions
Creates an environment.
Note:
The request body size cannot exceed the maximum allowed size of 30MB.
If you receive an HTTP `411 Length Required` error response, manually pass the `Content-Length` header and its value in the request header.
If you do not include the `workspace` query parameter, the system creates the environment in the oldest personal Internal workspace you own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | The workspace's ID. | |
| environment | No | Information about the environment. |