delete_environment
Permanently removes a specified Semaphore UI environment from a project by its project ID and environment ID, deleting the configuration so it can no longer be used in templates or tasks.
Instructions
Removes environment. DELETE /project/{project_id}/environment/{environment_id}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"environment_id": "<environment_id>"
},
"name": "delete_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| environment_id | Yes |