Delete API Environment
unfour.api.delete_environmentDelete an API environment after confirming with required text; read-only policy blocks removal, while soft-delete preserves data through command bus.
Instructions
Soft-deletes an API environment through the command bus. Guarded policy requires a content-bound confirmation_text; read-only policy blocks deletion.
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 | |||