Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

List of space admins

umashri
Contributor
May 23, 2025

Is there a way that we can fetch the space admins in confluence data center by using the API's. I wanted to list of space admins who have used a particular macro. 

If so, can you give me a solution on how to proceed with this

2 answers

0 votes
Adriian Semotiuk _Wombats Corp_
Contributor
May 26, 2025

Hello @umashri 
I want to clarify, that i understand you correclty.
You want to display list of admins from Data Center that have used particular macro in Confluence Cloud?
And what does used mean for you? Does that mean adding macro to page, or is it about particular admin opening page with that particular macro (aka render)?

umashri
Contributor
May 26, 2025

Hi @Adriian Semotiuk _Wombats Corp_ , it goes like suppose i take up the table-of-contents macro used in around 1000+ pages across various spaces, so i wanted the list of space admins who have used this table-of-contents macro in their respective spaces.

Adriian Semotiuk _Wombats Corp_
Contributor
May 26, 2025

But i am correct about that you want to display this information from DC in Cloud, right?

umashri
Contributor
May 26, 2025

in DC itself i want to display

 

Adriian Semotiuk _Wombats Corp_
Contributor
May 26, 2025

Okay, I saw tags for Confluence Cloud. You used wrong ones, if this question is DC related.

umashri
Contributor
May 26, 2025

oh sorry

Adriian Semotiuk _Wombats Corp_
Contributor
May 27, 2025

So you mean something like this table with each space and each admin who have used ToC macro on which page?IMG_0750.jpeg

0 votes
Nikola Perisic
Community Champion
May 23, 2025

Hello @umashri 

Not directly, you can use an endpoint from https://developer.atlassian.com/server/confluence/rest/v950/api-group-space-permissions/#api-rest-api-space-spacekey-permissions-get

and Get all space permissions for a specific space is the focus endpoint. There isn't an endpoint that can directly fetch this.

Another one is: https://developer.atlassian.com/server/confluence/rest/v950/api-group-space/#api-rest-api-space-spacekey-get

With this endpoint you would focus on "permissions" part of JSON.

umashri
Contributor
May 26, 2025

Hi @Nikola Perisic  , it goes like suppose i take up the table-of-contents macro used in around 1000+ pages across various spaces, so i wanted the list of space admins who have used this table-of-contents macro in their respective spaces.

Suggest an answer

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

Atlassian Community Events