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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,466,245
Community Members
 
Community Events
176
Community Groups

How to make access an api with non-admin user

Edited

There are two APIs that I'm able to access in my local confluence server 7.13.7 setup. One is to get the list of all the spaces inside the confluence instance and the other one is a custom API endpoint that I made through a custom plugin. 

The API that I'm using to get all the spaces inside a confluence instance is:

http://localhost:8090/rest/api/space

I can easily access this API and it is returning the expected results even when the API request is being made with a non-admin user. 

But, the custom endpoint that I have made is only accessible through an admin access request. If I'm making a request through the non-admin account, it's giving out a 401 error.

Is there any way to remove the restriction in the confluence instance so that I can access the API through normal accounts also or any other work around to make it work? 

1 answer

0 votes
Brant Schroeder Community Leader Dec 24, 2022

@Dishant Sharma How have you structured the security on the custom plugin?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events