python jira client destroy session

I am trying to invalidate the session using jira-python rest client. How can I achieve this feature, is it built in or needs to be implemented?

 

1 answer

1 accepted

1 vote
Boris Berenberg Community Champion Apr 22, 2015

Do you mean to destroy a session which has been created using the python client? Or to invalidate another person's session? If it is the python client's session, then just log out?

Invalidate any active user's session after 'x' minutes

If JIRA does this automatically, then can you tell me where can the invalidate sesstion timeout value be configured within JIRA?

Thanks Boris, that answers my question. One more thing comes to mind, can I automate a timer from the client side for the session timeout, to call the delete session API from the command line client. The web browser clients can still have the default session timeout for 5 hours.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 21, 2018 in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

1,194 views 10 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you