delete-environment
Delete an environment by ID, with optional cleanup of its audit log 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. |