Actions22
- Agent Actions
- Asset Inventory Actions
- Detection Actions
- Environment Actions
- Metric Actions
Environment → Create
AI-generatedSummary
Create a new environment in Liongard by specifying its name and optional additional fields to customize the created environment's properties and the data columns to return.
Inputs
- Name (required) — Defines the name of the environment to be created.
- Additional Fields — Optional fields to configure returned columns such as 'Name', 'ID', 'Status', and other environment attributes, as well as the order by which results are sorted.
Output shape
a single environment record containing the properties of the newly created environment, including any selected columns specified in Additional Fields.Columns to Return.
If no specific columns are selected, all columns are returned by default. The response structure corresponds to the environment object created in Liongard with optional fields based on the request selection.
Examples
Example 1: Create environment named 'TestEnv' returning default all columns
Set Name to 'TestEnv' and leave Additional Fields empty to create an environment with full default details returned.