createEnvironment
Generate a new environment by specifying name, description, color, and associated notifications. Handles responses for success, unauthorized access, or invalid requests.
Instructions
Creates a new environment from provided data
Responses:
- 201 (Success): environment created
- Content-Type:
application/vnd.api+json
- Example:
- Content-Type:
- 401: responds with unauthorized for invalid token
- Content-Type:
application/vnd.api+json
- Example:
- Content-Type:
- 422: invalid request
- Content-Type:
application/vnd.api+json
- Example:
- Content-Type:
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | Yes |