Revoke all other sessions
DELETE
/users/{userId}/sessions
Revokes all sessions for the user except the current one. This is useful for logging out of all other devices.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” userId
required
string
Responses
Section titled “ Responses ”Sessions revoked successfully
object
message
required
string
revokedCount
required
number
Forbidden - can only revoke your own sessions
User not found