From 5a93b75f90d1cab313f831a1e8cea4b210d5f296 Mon Sep 17 00:00:00 2001 From: Marvin Steadfast Date: Tue, 25 Sep 2018 12:27:03 +0200 Subject: [PATCH] Adds ability to invalid all access tokens --- matrix_client/api.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/matrix_client/api.py b/matrix_client/api.py index 8bd44ecc..aae52f99 100644 --- a/matrix_client/api.py +++ b/matrix_client/api.py @@ -185,6 +185,10 @@ def logout(self): """ return self._send("POST", "/logout") + def logout_all(self): + """Perform /logout/all.""" + return self._send("POST", "/logout/all") + def create_room( self, alias=None,