JIRA API to fetch all personal Access token for specific user and remove it

Jyoti Kumari
Contributor
January 8, 2025

Hello Everyone,

 

I would like to know ,how we can fetch all Personal access token for specific user and remove it through Jira API.Kindly provide API to implement these scenario for Jira version 9.12.15 for jira Datacenter.

Thanks and Regards,

Jyoti

1 answer

0 votes
Dave Mathijs
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 8, 2025

Hi @Jyoti Kumari 

In Data Center applications, administrators can see a list of all tokens created in the site, and revoke any of these tokens.

To administer personal access tokens:

  1. In your Atlassian application go to:
    • In Jira, select  System > Administering personal access tokens.
    • In Confluence, select  >  Users & Security > Administering personal access tokens .

In this view, you can filter your tokens by the author, creation and expiration date, and the last time the token was used for authentication. Admins can revoke individual tokens and delete multiple tokens at once. To bulk revoke, select tokens you want to revoke, and click Bulk revoke

Jyoti Kumari
Contributor
January 8, 2025

Hello @Dave Mathijs,

 

Thank you for providing answer, but in my scenario I have to implement these things through code.Kindly provide API or any details ,how we can implement it through groovy script.

 

Best Regards,

Jyoti

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.12.15
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events