delete-environment
Deletes an environment from ConfigCat by specifying its ID. Optionally removes related audit log records, preserving creation and deletion entries.
Instructions
This endpoint removes an Environment identified by the environmentId parameter.
If the cleanupAuditLogs flag is set to true, it also deletes the audit log records related to the environment
(except for the Created a new environment and Deleted an environment records).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environmentId | Yes | The identifier of the Environment. | |
| cleanupAuditLogs | No | An optional flag which indicates whether the audit log records related to the environment should be deleted or not. |