# Revoke an event stream

`DELETE https://api.cademi.com.br/api/v3/event-streams/{event_stream_id}`

Operation ID: `event_streams.delete` · API v3

Revokes the event stream and closes any open connection to it shortly afterward.

The stream is not removed: it remains available through the retrieve and list operations with the `revoked` status.

Required permissions: `event_streams.manage`.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `event_stream_id` | path | string | yes |  |

## Responses

### 204

The event stream was revoked successfully.

### 401

The credential is missing, malformed, expired, or revoked.

Body: Error.

### 403

The current credentials do not have the permission required by this operation.

Body: Error.

### 404

The event stream was not found or is not accessible with the current credentials.

Body: Error.

Full schema: https://cademi.dev/openapi/v3.json
