How can I programmatically revoke access to an Oauth2 app?

Jordan Glassman November 1, 2019

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 B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 13, 2019

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

Jordan Glassman November 13, 2019

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

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

Like Dario B likes this
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 14, 2019

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