Stop notifications

.md

Remove one app's notification registration from this phone.

DELETE/v1/me/devices/{app}

Stops notifications for one app on the device making the request. {app} is mail, calendar or admin. The token stays signed in; only the notifications stop.

There is no need to call this before signing out: ending the token ends its registrations too.

Request

curl -X DELETE https://api.proppertrading.com/v1/me/devices/mail \
  -H "Authorization: Bearer ptat_9f2c1a44_3b8e7d2f5c9a1b4e6d8f0a2c4e6b8d1f"

Response

204, no body, also when nothing was registered.

Errors

StatusCodeMeaning
401invalid_tokenNot a token, or the secret is wrong