Delete API Environment
unfour.api.delete_environmentDelete an API environment only after passing a content-bound confirmation_text; read-only policies block the action.
Instructions
Soft-deletes an API environment through the command bus. Guarded policy requires a content-bound confirmation_text; read-only policy blocks deletion.
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": {
"environmentId": "<environmentId>"
},
"name": "unfour.api.delete_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| workspaceId | No | ||
| environmentId | Yes | ||
| confirmationText | No | ||
| confirmation_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||