---
title: "Delete all of a tenant's widget sessions"
method: DELETE
path: "/v1/workspaces/{workspaceId}/widget_sessions"
tags: ["WidgetSessionService", "Widget Sessions"]
---

# Delete all of a tenant's widget sessions

`DELETE /v1/workspaces/{workspaceId}/widget_sessions`

Deletes every session belonging to a tenant across all widgets in the workspace, along with the conversations those sessions created — built for GDPR erasure requests. The tenant is required; an empty value is rejected rather than matching everything.

## Path parameters

- `workspaceId` string, required

## Query parameters

- `tenantId` string

## Response `200`

OK

- DeleteTenantWidgetSessionsResponse — Delete tenant widget sessions response.
  - `sessionsDeleted` integer — Number of sessions deleted.
  - `objectivesDeleted` integer — Number of conversations (objectives) deleted along with the sessions.

## Other responses

- `default` — Default error response

## Changes

- **2026-07-27** `af28891ddba3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/cadenya/apis/cadenya-api/changes/v1/workspaces/:workspaceId/widget_sessions/delete.md)

---

[API](https://skmtc.dev/cadenya/apis/cadenya-api.md) · [All operations](https://skmtc.dev/cadenya/apis/cadenya-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cadenya/cadenya-api/revisions/ac1a7f084068/schema)
