I have been trying to write a script to deactivate the users by using the https://jira.readthedocs.io/en/master/ library. However, even after passing admin credentials, I cannot deactivate user. It throws 401 unauthorized error.
I read the issue at https://github.com/pycontribs/jira/issues/470 and tried the solution given by the user. But still it throws the same unauthorized error.
I'm using cloud in python/jira library.
Has anyone tried it? any suggestions?