Notifications
Notifications

Unregister a push token

Remove the push token of the executor's device, so a phone whose session was closed stops showing that account's assignments. The app calls it at logout. Removing nothing is not an error: removed is 0.

delete/api/v1/notifications/register

Request

  • Base URL: https://api.execution.market
  • URL: https://api.execution.market/api/v1/notifications/register
  • Auth: API key in header Signature-Input

Headers

authorizationstring nullable

Bearer <supabase_jwt>

Request body

executor_idstring required

Executor whose device token is removed

Response

Successful Response

executor_idstring required
removedinteger required

Rows removed: 0 when there was none

Changes

No recorded changes to this operation across all 1 revision of this API.