![Avatar](https://secure.gravatar.com/avatar/e07aa811823b9fa8f78e22a68d4c680d?default=https%3A%2F%2Fassets.zendesk.com%2Fhc%2Fassets%2Fdefault_avatar.png&r=g)
Correction. I meant Profile not group.
Comment actions
Is there a way to remove a user from a group using the API? When setting a user's group via API, it "adds" the group to the groups the user is a part of, I want to set the user's group membership (remove them from their current group and add them to the new group).
Please sign in to leave a comment.
Correction. I meant Profile not group.
Hi Ed,
I think this should be achieved by deleting the relevant ProfileLink object.
A ProfileLink has a Container property with the profile and a Member property containing the member user or group.
Hope this helps,
Ophir
Perfect! Exactly what I needed. Thank you!