---
title: "Delete an audit log streaming configuration for an enterprise"
method: DELETE
path: "/enterprises/{enterprise}/audit-log/streams/{stream_id}"
tags: ["enterprise-admin"]
---

# Delete an audit log streaming configuration for an enterprise

`DELETE /enterprises/{enterprise}/audit-log/streams/{stream_id}`

Deletes an existing audit log stream configuration for an enterprise. 

When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See "[Encrypting secrets for the REST API](/rest/guides/encrypting-secrets-for-the-rest-api)."

## Path parameters

- `enterprise` string, required
- `stream_id` integer, required

## Response `204`

The audit log stream configuration was deleted successfully.

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-3.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-3/versions/dc0584ac4e13/schema)
