Good evening, I am referencing these docs
https://developer.atlassian.com/cloud/admin/organization/rest/api-group-directory/
Here there are endpoints to create groups, delete groups and add users to groups, however I am not able to find a way to view the groups that I have created previously, or get details regarding these groups How would I get information regarding these groups? I have tried searching but haven't found anything. Is this on purpose? If yes, what would be the reason behind something like this? Any help would be appreciated Thanks
Hello @Wasiq Bin Zahid
I am not sure if you still need the information but you can find the documentation here:
Be aware it is not a GET. You have to do a POST Call. I use httpie and jq to generate a cvs list of all groups.
https -A bearer -a $TOKEN POST api.atlassian.com/admin/v1/orgs/$ORG_ID/groups/search | jq '.data[] | [.id, .name ] | @csv ' > groupIDs.csv
I hope this helps.
Cheers,
Lars
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.