Skip to main content
New Participant
Nov 20, 2024 2:20 PM UTC
Question

remove all users from a group in one go using User Management Action API?

Hi There,

 

I am using the User Management Action API and trying to remove all users from a group in one go,

In the user managment Action commands, I can specify the user and use "all" to remove all user's group memberships

"do": [{ "remove": "all" }]

but in Group managment action commands, the "remove": "all" is not available, is it possible to use "everyone" or a wildcard to remove all users [not just 10] from a group?

I am using the UMAPI sample

[{ "user": "existing user's email in admin console goes here", "requestID": "action_8", "do": [{ "remove": { "group": ["Testing Group"] } }] }]

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Employee
Nov 22, 2024 10:15 AM UTC

Hi Mohamed,

I think this question was already covered inside the support ticket you raised with dev support.

Please confirm if all is clear at this point, to close this thread.

Thank you!

Translate