diff --git a/atlassian/jira.py b/atlassian/jira.py index f12d9d744..21dde5502 100644 --- a/atlassian/jira.py +++ b/atlassian/jira.py @@ -281,6 +281,12 @@ def user_get_websudo(self): return self.post(path=url, data=data, headers=headers) + def invalidate_websudo(self): + """ + This method invalidates the any current WebSudo session. + """ + return self.delete("rest/auth/1/websudo") + def user_find_by_user_string(self, username, start=0, limit=50, include_inactive_users=False, include_active_users=True): """