---
title: "Unsubscribe device tokens from a Firebase topic"
method: POST
path: "/notifications/push/topic/unsubscribe"
tags: ["push-notifications"]
---

# Unsubscribe device tokens from a Firebase topic

`POST /notifications/push/topic/unsubscribe`

Unsubscribes one or more device tokens from a Firebase Cloud Messaging topic

## Request body

- UnsubscribeFromTopicDto
  - `deviceTokens` string[], required — Array of device tokens to unsubscribe
  - `topic` string, required — Topic name to unsubscribe from

## Response `200`

Devices unsubscribed from topic successfully

- object
  - `message` string

## Other responses

- `400` — Bad request - Invalid device tokens or topic name

---

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