---
title: "Delete notifications (batch)"
method: DELETE
path: "/notifications"
tags: ["Notifications"]
---

# Delete notifications (batch)

`DELETE /notifications`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/notifications`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

Batch deletion of notifications. Supports deleting by explicit IDs (ids) or by time threshold (last_updated_at__lt), optionally filtered by read state.

## Query parameters

- `workspace_id` integer: Workspace refers to a collection of projects. Workspace ID is unique identifier for workspace.
- `ids` string, nullable: Comma-separated list of notification IDs to delete.
- `last_updated_at__lt` string, nullable: Delete notifications last updated before this timestamp. Format: ISO 8601 (e.g. '2024-01-01T00:00:00Z'). Defaults to deleting only read notifications unless is_read is specified.
- `is_read` boolean, nullable: Filter notifications read status

## Response `200`

Success

## Other responses

- `204`: Request fulfilled, nothing follows
- `400`: Bad Request
- `401`: Unauthorized

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/fe078afe239b?raw)
