Forums

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

How to get group names using confluence cloud API?

Jayanth
Contributor
April 24, 2025

I saw cloud confluence's latest API is v2. Now, I have a question. How to fetch group names from confluence space using REST API. When I try to get names using latest version, it is throwing an error. But when I use v1 API, I can able to fetch the names. 

Now, my question is did Atlassian migrated group management API to v2?? If yes what is the endpoint to retrieve group names.

1 answer

1 vote
Piyush Annadate _ACE Pune_
Community Champion
April 24, 2025

Hello @Jayanth ,
Based on latest documentation, API v2 for Group isn't available. You can fetch the Group ID from the API v2 of  Space permission, and then use the v1 for Group. 

Fetch Group name using ID: https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-group/#api-wiki-rest-api-group-by-id-get

Jayanth
Contributor
April 24, 2025

url = "https://{your-domain}/wiki/api/v2/space-permissions"

I believe this is not working.

Suggest an answer

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

Atlassian Community Events