Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,846
Community Members
 
Community Events
168
Community Groups

Remove group from Crowd account of multiple users

Dear community, 

your help would be greatly appreciated, 

We need to remove a group (confluence) from hundreds of users' Crowd accounts

what is the way to do the removal in Bulk?

Much thanks. 

1 answer

2 votes

Hey @Hana luiza 

I'd suggest using the REST API and something like https://www.postman.com/ that allows you to provide a CSV list of the usernames you want to remove, and then Postman will iterate through each line and make the relevant REST API call for you - https://community.atlassian.com/t5/Answers-Developer-Questions/Removing-user-from-a-group-using-crowd-REST-API/qaq-p/499556 shows the API call is likely

curl -D- -k -u "login:password" -X DELETE "https://myinstance/crowd/rest/usermanagement/latest/user/group/direct?username=usernamefromcsvgoeshere&groupname=confluence"

CCM

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events