# Delete event stream

Remove an event stream.

Endpoint: DELETE /activities/stream
Security: oauth2

## Security:

  - `oauth2` (unknown)
    oauth2

## Query parameters:

  - `type` (string, required)
    The event type.

  - `stream_id` (string, required)
    The ID of the stream to delete

## Response 200:

  - `200` (unknown)
    Events stream: <STREAM_ID>, with <TYPE> events, was deleted successfully.

## Response 400:

  - `400` (unknown)
    Bad request

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 403:

  - `403` (unknown)
    Cannot handle request without performing start collect action first.

## Response 404:

  - `404` (unknown)
    Stream not found.

## Response 406:

  - `406` (unknown)
    stream_id parameter is required and must be a continuous non-empty string.

## Response 500:

  - `500` (unknown)
    Internal server error

