Skip to content

Commit 8299ade

Browse files
author
Gonchik Tsymzhitov
committed
Jira: invalidate all websudo sessions
1 parent ebb1069 commit 8299ade

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: atlassian/jira.py

+6
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,12 @@ def user_get_websudo(self):
281281

282282
return self.post(path=url, data=data, headers=headers)
283283

284+
def invalidate_websudo(self):
285+
"""
286+
This method invalidates the any current WebSudo session.
287+
"""
288+
return self.delete("rest/auth/1/websudo")
289+
284290
def user_find_by_user_string(self, username, start=0, limit=50, include_inactive_users=False,
285291
include_active_users=True):
286292
"""

0 commit comments

Comments
 (0)