Skip to main content
DELETE
/
push-token-unregister
Unregister a push notification token
curl --request DELETE \
  --url https://aarwcjjzhlmkgdwrisyt.supabase.co/functions/v1/push-token-unregister \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "ExponentPushToken[xxxxxxxxxxxxxxxxxxxxxx]"
}
'
{
  "success": true,
  "status": 123,
  "error": "<string>",
  "details": [
    {
      "field": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT access token obtained from /auth-verify (login context) or /auth-signup. Set the bearer_token environment variable in your API client to apply it globally.

Body

application/json
token
string
required

Expo push token to deactivate

Example:

"ExponentPushToken[xxxxxxxxxxxxxxxxxxxxxx]"

Response

Token deactivated