Notification

Unregister push device

Changed on

Auth: Authenticated - any signed-in user.

Removes one of the calling user's registered push devices (e.g. on sign-out or when notification permission is revoked). A user can only remove their own devices.

delete/Notification/Devices

Request

  • Base URL: https://api.tonbridge.school
  • URL: https://api.tonbridge.school/Notification/Devices
  • Auth: HTTP bearer

Request body

tokenstring nullable

Example request

{}

Response

Success - device removed (or already absent)

successboolean

Changes