Unregister a push subscription
DELETE /api/notifications/subscribe
DELETE
/api/notifications/subscribe
Authorizations
Section titled “Authorizations ”Request Body
Section titled “Request Body ”object
endpoint
string
deviceToken
string
Responses
Section titled “ Responses ”Subscription removed
object
ok
required
boolean
data
required
object
unsubscribed
required
boolean
Missing endpoint or deviceToken
object
ok
required
boolean
error
required
string
code
string
Unauthenticated
object
ok
required
boolean
error
required
string
code
string
Forbidden / no permission
object
ok
required
boolean
error
required
string
code
string
Failed to unsubscribe
object
ok
required
boolean
error
required
string
code
string