It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I programmatically revoke access to an Oauth2 app?

I see that the user can revoke access to an Oauth2 app for all connected Jira instances at once as described here:  

https://confluence.atlassian.com/jirasoftwareserver/allowing-oauth-access-939938965.html#AllowingOAuthaccess-revokingtokensRevokingOAuthaccesstokens

Is it possible to do this programmatically via the `https://api.atlassian.com/oauth/` endpoint?

Possibly related answer for Confluence:  https://community.atlassian.com/t5/Confluence-questions/Revoke-access-token-app-via-API/qaq-p/1128713

1 answer

0 votes
Dario Atlassian Team Wednesday

Hi @Jordan Glassman ,

The thread you are referring to is actually talking about revoking an API Token and not an Oauth token.

Now, I can see you created this question for Cloud, while you are pointing to the documentation for Jira Server, therefore, please find the correct documentation page below:

Please review above page and see if it helps.

In case the above page does not help and you won't get any other answer in here, you may want to refer to the resources listed in https://developer.atlassian.com/resources:

Specifically:

 

Cheers,
Dario

@Dario yes, my question was indeed about Jira Cloud.  

I will ask over at developer.atlassian.com, thanks. 

Like Dario likes this
Dario Atlassian Team Thursday

You are very welcome @Jordan Glassman ! :) 

Also, once you get to a solution please paste it in here as well, so that we can mark this thread as solved. 

Cheers,
Dario

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

308 views 1 3
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you