DELETE
/
users
/
{uid}
/
auth_tokens
Flush
curl --request DELETE \
  --url https://{appid}.api-{region}.cometchat.io/v3/users/{uid}/auth_tokens \
  --header 'apikey: <api-key>'
{
  "data": {
    "success": true,
    "message": "Cleared Auth Tokens successfully for uid superhero1."
  }
}

Authorizations

apikey
string
header
required

API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).

Path Parameters

uid
string
required

An UID of a user.

Response

200 - application/json

A list of api keys

The response is of type object.