You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Presently we have an api to remove user's group membership for a given group name but is there a way to remove membership for a given user ? This is especially required when you are automated 'deactivating users' but challenge lies in removing group membership. Without doing this , user would still appear in other atlassian tools group and I'm trying to eliminate this. Please suggest.
@Sachin RamaprasadTake a look at this API - https://docs.atlassian.com/atlassian-crowd/3.6.0/REST/#admin/1.0/users-addUserToGroups
I think this is incorrectly documented, it removes user from multiple group.
From the above rest api doc, 401 is when user doesn't have permission to execute the operation and 404 is when user doesn't exist. In my case , both are invalid response as I'm using correct application and i have used crowd admin credentials.
Could you send me the query how you are using it in curl ? (feel free to exclude credentials)