Authorizations
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Path Parameters
An UID of a user.
Response
200 - application/json
A list of api keys
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.
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."
}
}API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
An UID of a user.
A list of api keys
Was this page helpful?