Skip to main content
POST
/
v1
/
notifications
/
deregister-device-token
Deregister Device Token
curl --request POST \
  --url https://api.tradearies.dev/v1/notifications/deregister-device-token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "deviceToken": "fGxY8Z9abc123def456ghi789jkl012mno345pqr678stu901vwx234yz"
}'
{
"message": "Device token deregistered successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
deviceToken
string
required

The FCM device token to deregister

Example:

"fGxY8Z9abc123def456ghi789jkl012mno345pqr678stu901vwx234yz"

Response

Device token deregistered successfully

message
string
Example:

"Device token deregistered successfully"