cURL
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." } }
Deletes all the auth tokens for the specified UID.
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
An UID of a user.
A list of api keys
The response is of type object.
object
Was this page helpful?