Important Update: Community URLs redirect issues are partially resolved. Learn More. .

cancel
Showing results for 
Search instead for 
Did you mean: 

Remove user from all groups

Archerwizz2022
Contributor III

I tried looking for all available APIs, but I couldn't find one which remove a user from all groups he has been previously added to.

Could you point to the right direction of accomplishing that using C#?

 

Archer 6.10

1 ACCEPTED SOLUTION

Accepted Solutions

Anonymous
Not applicable

@Archerwizz2022,

According to the REST API guideline, you can use the following API call to remove user from the group, but it has to be done 1 by 1 via PUT:

Ilya_0-1649885976667.png

But before you need to find out all groups of the user by using:

Ilya_1-1649886026811.png

 

View solution in original post

3 REPLIES 3

Anonymous
Not applicable

@Archerwizz2022,

According to the REST API guideline, you can use the following API call to remove user from the group, but it has to be done 1 by 1 via PUT:

Ilya_0-1649885976667.png

But before you need to find out all groups of the user by using:

Ilya_1-1649886026811.png

 

Thank you. I'm aware of such API, and I'm using it now to loop through all existing group and remove user from each group, if previously added. Hence I was looking for a "Delete All" kind of API.

 

Anonymous
Not applicable

No such as far as I am aware.