Logout Device API
POST /logoutDeviceByUserDeviceId
Description
This API endpoint allows users to log out a device by its user device ID. It terminates the device session and returns information about the session after logout.
Request Body
The request utilizes GraphQL to perform the logoutDeviceByUserDeviceId
mutation.
Mutation:
mutation logoutDeviceByUserDeviceId ($userDeviceId: Int!) {
logoutDeviceByUserDeviceId (userDeviceId: $userDeviceId) {
id
userId
os
deviceId
loginDate
logoutDate
appVersion
deviceModel
deviceName
fcmToken
isActive
isBlocked
}
}