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 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 endpoint across all 1 revision of this API.