Delete push token

Removes push token on the server.

URLRequires AuthHTTP Method

/api/v1/push.token

yes

DELETE

Payload

ArgumentExampleRequiredDescription

token

TOKEN

Required

The Token

Example Call

curl -H "X-Auth-Token: wQcX06fwNoW_syxZl4OS67afcFJkKI6AjzOJGA1-0-J" \
     -H "X-User-Id: 52d5Rw8LT3TeDa59Z" \
     -H "Content-type:application/json" \
     -X "DELETE" \
     http://localhost:3000/api/v1/push.token \
     -d '{"token": "TOKEN"}'

Example Result

{
    "success": true
}

Change Log

VersionDescription

0.60.0

Added.

Last updated

Rocket.Chat versions receive support for six months after release.