Authorizations
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Body
application/json
Response
200 - application/json
Updated Auth Token
curl --request PUT \
--url https://{appid}.api-{region}.cometchat.io/v3/users/{uid}/auth_tokens/{authToken} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"platform": "<string>",
"userAgent": "<string>",
"appInfo": {}
}'{
"data": {
"uid": "superhero1",
"authToken": "superhero1_1630306819c3027ce530b2367f3c97b4106f0cb8",
"createdAt": 1630306819
}
}Updates the details of an auth token for the specified UID andauth token.
curl --request PUT \
--url https://{appid}.api-{region}.cometchat.io/v3/users/{uid}/auth_tokens/{authToken} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"platform": "<string>",
"userAgent": "<string>",
"appInfo": {}
}'{
"data": {
"uid": "superhero1",
"authToken": "superhero1_1630306819c3027ce530b2367f3c97b4106f0cb8",
"createdAt": 1630306819
}
}API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Updated Auth Token
Was this page helpful?