---
title: "Bulk Delete External Sessions"
method: DELETE
path: "/api/ingest/external/v1/sessions"
tags: ["ingest"]
---

# Bulk Delete External Sessions

`DELETE /api/ingest/external/v1/sessions`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/ingest/external/v1/sessions`
- Auth: none declared

Delete sessions for a given source.

``source`` query param is required - a bulk delete without a source
filter is not permitted (returns 400). When ``older_than_days`` is set,
only sessions whose ``started_at`` is older than that many days are
deleted (used by the one-time capture-retention cleanup).

## Query parameters

- `source` string, nullable
- `older_than_days` integer, nullable

## Headers

- `x-ingest-key` string, nullable
- `authorization` string, nullable
- `x-impersonate-identity-id` string, nullable

## Response `200`

Successful Response

- BulkDeleteResultV1
  - `deleted` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thinqos/apis/thinqos-api.md) · [All operations](https://skmtc.dev/thinqos/apis/thinqos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thinqos/apis/thinqos-api/revisions/5387b4ded614?raw)
