v2
latestOpenAPI 3.0.1private2026-07-2667209320.4 KBApplications
Delete environment
Delete Environment
Removes this Environment from the StackHawk application.
⚠️ Danger HawkScan scan results are grouped by application & environment. Deleting an environment also deletes all scan results collected for that environment. StackHawk will delete scan results on demand. This action is permanent and cannot be undone.
🧾 Audited This is recorded as ENVIRONMENT_REMOVED User Activity.
Requires delete:application permission.
delete/api/v1/app/{appId}/env/{envId}
Path parameters
appIdstring uuid required
UUID identifier for this StackHawk Application.
envIdstring uuid required
UUID identifier for this StackHawk Environment.
Response
OK