Is it possible to restrict people in the Rest API and if so, how is this possible (Atlassian Guard)?

Yassir Abdelmajid
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 14, 2024

 

Is it possible to restrict people in the Rest API and if so, how is this possible (Atlassian Guard)?

3 answers

1 vote
Samuel Gatica _ServiceRocket_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 14, 2024

Hi @Yassir Abdelmajid 

This cannot be accomplished without the use of plugins. There is a suggestion with Atlassian regarding this improvement. Please visit the Atlassian Marketplace to explore options that may meet your needs. 

 

Best regards

Sam

0 votes
Christof Cuypers
Contributor
November 19, 2024

I agree with @Samuel Gatica _ServiceRocket_ that there is no robust, out-of-the-box solution available yet.

However, if you have some development expertise, you might consider automating the solution @Harrison Ponce  mentioned using the Admin API. You could create a service that periodically deletes all API tokens that are not created or linked to a specific user.

For more details, refer to: https://developer.atlassian.com/cloud/admin/user-management/rest/api-group-api-tokens/#api-group-api-tokens 

0 votes
Harrison Ponce
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 14, 2024

Hi @Yassir Abdelmajid ,

Adding on to what @Samuel Gatica _ServiceRocket_ wrote, it is not possible without a plugin/app. What you can do, however, is view the API tokens that have been created and manage them.

The API key for the user respects permissions the user has in the system, so it will not allow them to read, write, etc. for anything they cannot do within the UI.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events