How do I get a list of administrators for spaces using the confluence REST API?

Bruce Altner
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!
February 27, 2025

Hello. I am looking for the correct REST API endpoint through which I can get a list of the administrators for the spaces in my Confluence wiki. I was told to look at and parse the results of a permissions query but I can't get these either. I am an admin of the wiki and can see and update permissions through the UI, and am using the PAT in my REST queries for that same account. I am using Confluence 8.5.19.

Thank you.

1 answer

0 votes
Richard Cho - ServiceRocket
Contributor
February 27, 2025

@Bruce Altner So to confirm, the following API endpoint doesn't work?

https://developer.atlassian.com/server/confluence/rest/v1000/api-group-space-permissions/#api-rest-api-space-spacekey-permissions-get

You can try entering this endpoint into your browser instead and see if you get any results.

Bruce Altner
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!
February 27, 2025

No, unfortunately it does not work for me. First, any query that uses a context of 'confluence' gives me a very verbose 404 Error. Dropping the context gives me a very terse 404 error:

Error: 404 - <?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>404</status-code><message>null for uri: {myuri} </status>


 

 

Richard Cho - ServiceRocket
Contributor
February 27, 2025

@Bruce Altner can I ask what version of Confluence you're running? If I'm not mistaken, that endpoint was added as part of Confluence Data Center 9.1.0.

Bruce Altner
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!
February 27, 2025

Yes, sure. I am using Confluence 8.5.19.

Richard Cho - ServiceRocket
Contributor
February 27, 2025

Thanks Bruce. In that case, you would need to update your Confluence version in order to be able to use this new endpoint. Let me know if this solves your issue.

Bruce Altner
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!
February 27, 2025

Thanks, Richard. An update is not likely to happen soon. :-(

Suggest an answer

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

Atlassian Community Events