I need to update the AD groups for list spaces in Confluence instance for granting permission and I am looking for rest API to achieve this. Could you please help me on the same?
Hi,
You may want to create an Atlassian "native" group if you want to use the built-in Rest API capabilities on Groups and Users
If you want to update AD groups automatically, then you should be looking at IdP provider API's such as https://developer.okta.com/docs/reference/api/groups/.
Thanks @oliver.wihler for your response. We are using Confluence Data center platform and we have the list AD groups which need to be updated in Confluence spaces.
I am looking for the way to achieve it by using the APIs. Let me know if there is any other ways to do.
Have a look at the available Rest API end-points for Confluence CD:
https://docs.atlassian.com/ConfluenceServer/rest/8.0.3/
For example, you can get a list of all members of a group:
GET /rest/api/group/{groupName}/member
But yeah, the DC rest api not offer as much as the Cloud one.
On Cloud you can add and remove space permissions. Is it this you were looking for?
https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions/#api-group-space-permissions
@oliver.wihler We are using Data center version not the cloud version
It looks like you're new here. Sign in or register to get started.