Skip to main content
DELETE
/
v2
/
notifications
/
subscriptions
/
app-push
Remove an app push subscription
curl --request DELETE \
  --url https://api.cal.com/v2/notifications/subscriptions/app-push \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "ExponentPushToken[xxxxxxxxxxxxxxxxxxxxxx]"
}
'
{
  "status": "success",
  "message": "App push subscription removed successfully"
}

Headers

Authorization
string
required

value must be Bearer <token> where <token> is api key prefixed with cal_

Body

application/json
token
string
required

Expo Push Token to remove

Pattern: EXPO_PUSH_TOKEN_REGEX
Example:

"ExponentPushToken[xxxxxxxxxxxxxxxxxxxxxx]"

Response

200 - application/json
status
enum<string>
required
Available options:
success,
error
Example:

"success"

message
string
required
Example:

"App push subscription removed successfully"