---
title: "Delete notifications from a workspace inbox"
method: POST
path: "/notifications/delete"
tags: ["Notifications"]
---

# Delete notifications from a workspace inbox

`POST /notifications/delete`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/notifications/delete`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Request body

- ChangeNotificationsInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `all` boolean: Apply to every workspace and account-wide notification visible in this inbox
  - `ids` string[], nullable: Notification IDs within the workspace inbox
  - `workspace_id` string, required: Workspace whose inbox should be changed

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
