Applications

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}

Request

  • Base URL
    https://api.stackhawk.com
  • URL
    https://api.stackhawk.com/api/v1/app/{appId}/env/{envId}
  • Auth
    HTTP bearer

Path parameters

appIdstring uuid required

UUID identifier for this StackHawk Application.

envIdstring uuid required

UUID identifier for this StackHawk Environment.

Response

OK

Changes

No recorded changes to this operation across all 8 revisions of this API.