push-notifications

Unsubscribe device tokens from a Firebase topic

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

post/notifications/push/topic/unsubscribe

Request

  • Base URL
    https://api.tonewow.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.tonewow.com/notifications/push/topic/unsubscribe
  • Auth
    none declared

Request body

deviceTokensstring[] required

Array of device tokens to unsubscribe

topicstring required

Topic name to unsubscribe from

Example request

{
  "deviceTokens": [
    "fcm_token_1",
    "fcm_token_2"
  ],
  "topic": "news"
}

Response

Devices unsubscribed from topic successfully

messagestring

Example response

{
  "message": "Successfully unsubscribed from topic"
}

Changes

No recorded changes to this operation across all 6 revisions of this API.