API tokens export

Michal Boruta August 3, 2022

Hi all!

If I am an Administrator in my organization, is there a way to export/bulk review all of the API tokens generated by users of our instance?

We are only aware of the possibility to check based on profile one by one, what may lead to huge workload

Thanks in advance!

Michał

 

1 answer

0 votes
Jimmy Seddon
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 3, 2022

Hi @Michal Boruta,

Everything from Atlassian's documentation indicated that it is not possible to review these in bulk.

However, there is a REST API call to get the tokens a user has created:

https://developer.atlassian.com/cloud/admin/user-management/rest/api-group-users/#api-users-accountid-manage-api-tokens-get

In theory you could write a script that will iterate over all of your userIDs and save the token results that you could export to a file.

It's not the most ideal option, but it should accomplish what you are looking to achieve.

I hope that helps!

-Jimmy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events