Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Revoke oauth authorization api

Karthikeyan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 16, 2022

In bitbucket, i have created oauth consumer & implemented authentication flow (Authorization Code Grant) 

https://developer.atlassian.com/cloud/bitbucket/rest/intro/#1--authorization-code-grant--4-1-

 

After some point of time, if user wants to revoke this authorization it can be achieved in bitbucket website (attached img reference)

revoke.png

 

But I couldn't find the rest api document to revoke the authorization from my application..

 

I can see similar questions raised in the community

 

Kindly assist me to fix this..

 

Regards,

Karthikeyan

1 answer

1 vote
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 4, 2022

Hey Karthikeyan,

Unfortunately - there is no method for revoking OAuth tokens in our REST API, only generating them.

At this stage, the only way to do so is via the UI.

I have raised a formal feature request to our developers on your behalf, you can find this ticket below:
https://jira.atlassian.com/browse/BCLOUD-22302

Feel free to "Watch" this to receive future updates and "Vote" for it to increase its visibility in regard to customer demand.

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events