Create or update environment
qase_environment_upsertCreate or update a Qase environment, a named run target like staging or production. Pass an ID to update an existing one; omit it to create a new one.
Instructions
Create or update an environment — a named target such as staging or production that runs are attributed to. With id it updates, without it creates. Existing environments come back from qase_project_context. Cost: one API call, about 0.5s.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Environment ID — if provided, updates; if omitted, creates | |
| code | Yes | Project code, e.g. DEMO | |
| host | No | Environment host/URL | |
| slug | No | URL-friendly identifier | |
| title | Yes | Environment title | |
| description | No | Free-form description of the environment |