Contract Testing: Create Environment
contract-testing_create_environmentCreate a new deployment environment in PactFlow by specifying a unique name and production status, optionally assigning owning teams and a display name.
Instructions
Create a new deployment environment in PactFlow.
Toolset: Environments and Deployments
Parameters:
name (string) required: Unique name for the environment (e.g. 'production', 'staging')
production (boolean) required: Whether this is a production environment
displayName (string): Human-readable display name
teamUuids (array): UUIDs of teams that own this environment
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Unique name for the environment (e.g. 'production', 'staging') | |
| teamUuids | No | UUIDs of teams that own this environment | |
| production | Yes | Whether this is a production environment | |
| displayName | No | Human-readable display name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| uuid | No | ||
| _links | No | ||
| contacts | No | ||
| _embedded | No | ||
| createdAt | No | ||
| isDefault | No | ||
| teamUuids | No | ||
| updatedAt | No | ||
| production | No | ||
| displayName | No |