---
title: "Update all notifications state"
method: POST
path: "/v1/subscribers/{subscriberId}/messages/mark-all"
tags: ["Subscribers"]
deprecated: true
---

# Update all notifications state

`POST /v1/subscribers/{subscriberId}/messages/mark-all`

## Request

- Base URL: `https://api.notifly.io`
- URL: `https://api.notifly.io/v1/subscribers/{subscriberId}/messages/mark-all`
- Auth: API key in header `Authorization`

> **Deprecated.**

This API is deprecated, use v2 API instead. Update all subscriber in-app notifications state such as read, unread, seen or unseen by **subscriberId**.

## Path parameters

- `subscriberId` string, required

## Request body

- MarkAllMessageAsRequestDto
  - `feedIdentifier` union: Optional feed identifier or array of feed identifiers
    - string
    - string[]
  - `markAs` 'read' | 'seen' | 'unread' | 'unseen', required: Mark all subscriber messages as read, unread, seen or unseen

## Response `201`

- number

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `405`: Method Not Allowed
- `409`: Conflict
- `413`: Payload Too Large
- `414`: URI Too Long
- `415`: Unsupported Media Type
- `422`: Unprocessable Entity
- `429`: The client has sent too many requests in a given amount of time.
- `500`: Internal Server Error
- `503`: The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay.

---

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