Docs Rizler

Profile

Logout Other Devices

POSThttps://app.rizzdial.com/api/profile/logout-other-devices
Logout Other Devices
curl --request POST \
  --url https://app.rizzdial.com/api/profile/logout-other-devices \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "password": "current-password"
}'
{
  "message": "Logged out from other devices successfully.",
  "success": true
}

Logout Other Devices#

Logs the signed-in user out from all other browser sessions. The current session remains active.

Authorizationstringheaderrequired

Bearer token in the format: Bearer {access_token}

passwordstringbodyrequired

Current account password

curl --request POST \
  --url https://app.rizzdial.com/api/profile/logout-other-devices \
  --header 'Authorization: Bearer {{bearer_token}}' \
  --header 'Content-Type: application/json' \
  --data '{"password":"current-password"}'
successboolean

true when other devices are logged out

messagestring

Logged out from other devices successfully.