notifications
Unregister Push Token
Clear FCM device token on logout.
Loop 7 Finding #L7-29: this endpoint used to be registered AFTER @router.delete("/{notification_id}") — FastAPI matches in registration order, so 'push-token' was being cast to a notification UUID and the handler was 500'ing with Postgres invalid-UUID-syntax. Users stayed registered for push after logout and kept getting notifications on devices they'd signed out of. Moved above the catch-all.
delete/api/notifications/push-token
Request
- Base URL: https://api.activitia.net (the document declares no server; this is the origin it was published from)
- URL: https://api.activitia.net/api/notifications/push-token
- Auth: none declared
Headers
authorizationstring
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.