Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

For a given userid , is there a way to remove all the group membership through api ?

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.




1 answer

0 votes
DPK J Community Leader Sep 23, 2019

@Sachin RamaprasadTake a look at this API -

I think this is incorrectly documented, it removes user from multiple group.

@DPK J  , thanks for your response.


I tried this in two methods. First with using application credentials and then with local admin credentials. I got 401 & 404 error respectively.

Does the admin call works on crowd server ?

DPK J Community Leader Sep 24, 2019

@Sachin Ramaprasadthey work, but not able to see how you got 401 or 404 response.

404 implies page does not exists.

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)

DPK J Community Leader Sep 25, 2019

@Sachin Ramaprasad  I need to search for this, but I will get back to you.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

181 views 6 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you