Skip to main content
DELETE
/
tokens
cURL
curl --request DELETE \
  --url https://our-secret-api-url.com/tokens \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <x-api-key>' \
  --data '
{
  "fcmToken": "<string>"
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Headers

X-API-KEY
string
required

API key required for authentication

Body

application/json
fcmToken
string
required

Response

Token deleted successfully

message
string