Delete environment
/api/v1/app/{appId}/env/{envId} 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_REMOVEDUser Activity.
Requires
delete:applicationpermission.
Path parameters
appIdstring · uuidrequiredUUID identifier for this StackHawk Application.
envIdstring · uuidrequiredUUID identifier for this StackHawk Environment.
Response
OK
Bad Request
Unauthorized