logout
Used to terminate the user’s active session and securely log them out of the system. The call optionally accepts device notification identifiers (such as fcm_token and subscription_id) to unregister the device from push notification services. This ensures the user no longer receives notifications after logout. The request triggers backend session invalidation, token cleanup, and removal of associated push subscriptions for security and proper device management.
Documentation
Try it now
Request parameters:
Call example:
logout()Response examples:
{
code: 0,
rid: 1879473941,
data: null
}