You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@syncope.apache.org by Korhonen Tommi <to...@thl.fi> on 2015/11/09 13:27:32 UTC
Deleting multiple users
Hello,
Syncope UI allows to delete max. 50 users per bulk action. I need to delete over 8000 users from my test setup. Is there faster ways to delete so many users at once?
Re: Deleting multiple users
Posted by Massimiliano Perrone <ma...@tirasa.net>.
Il 10/11/2015 10:41, Francesco Chicchiriccò ha scritto:
> Hi,
> bulk action is indeed more efficient than sending separate request per
> user.
>
> I have assembled a quick "How do I... ?" page on this topic at
>
> https://cwiki.apache.org/confluence/display/SYNCOPE/Delete+several+users+at+once
>
> Please take a look and let me know.
+1
> Regards.
>
> On 09/11/2015 14:43, Ismo M I Aulaskari wrote:
>> I just first got all userid:s with the api and then looped over the
>> /users/{userId} , I think the speed was something like 3000 deletions per
>> hour.
>>
>> On Mon, 9 Nov 2015, Korhonen Tommi wrote:
>>
>> Thanks Ismo!
>>
>> Have you used/users/bulk action (can it be used to remove all users?) or DELETE
>> /users/{userId} for each user? Where can I find documentation how the bulk request works, what parameters are needed, etc.?
>>
>>
>> -----Original Message-----
>> From: Ismo M I Aulaskari [mailto:aulaskar@cc.helsinki.fi]
>> Sent: 9. marraskuuta 2015 14:34
>> To:user@syncope.apache.org
>> Subject: Re: Deleting multiple users
>>
>>
>> On Mon, 9 Nov 2015, Korhonen Tommi wrote:
>>> Hello,
>>> Syncope UI allows to delete max. 50 users per bulk action. I need to
>>> delete over 8000 users from my test setup. Is there faster ways to delete so many users at once?
>> I used the rest api.
> --
> Francesco Chicchiriccò
>
> Tirasa - Open Source Excellence
> http://www.tirasa.net/
>
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC, Olingo PMC
> http://people.apache.org/~ilgrosso/
--
Massimiliano Perrone
Tel +39 393 9121310
Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
"L'apprendere molte cose non insegna l'intelligenza"
(Eraclito)
Re: Deleting multiple users
Posted by Francesco Chicchiriccò <il...@apache.org>.
Hi,
bulk action is indeed more efficient than sending separate request per user.
I have assembled a quick "How do I... ?" page on this topic at
https://cwiki.apache.org/confluence/display/SYNCOPE/Delete+several+users+at+once
Please take a look and let me know.
Regards.
On 09/11/2015 14:43, Ismo M I Aulaskari wrote:
> I just first got all userid:s with the api and then looped over the
> /users/{userId} , I think the speed was something like 3000 deletions per
> hour.
>
> On Mon, 9 Nov 2015, Korhonen Tommi wrote:
>
> Thanks Ismo!
>
> Have you used/users/bulk action (can it be used to remove all users?) or DELETE /users/{userId} for each user? Where can I find documentation how the bulk request works, what parameters are needed, etc.?
>
>
> -----Original Message-----
> From: Ismo M I Aulaskari [mailto:aulaskar@cc.helsinki.fi]
> Sent: 9. marraskuuta 2015 14:34
> To:user@syncope.apache.org
> Subject: Re: Deleting multiple users
>
>
> On Mon, 9 Nov 2015, Korhonen Tommi wrote:
>> Hello,
>> Syncope UI allows to delete max. 50 users per bulk action. I need to
>> delete over 8000 users from my test setup. Is there faster ways to delete so many users at once?
> I used the rest api.
--
Francesco Chicchiriccò
Tirasa - Open Source Excellence
http://www.tirasa.net/
Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC
http://people.apache.org/~ilgrosso/
RE: Deleting multiple users
Posted by Ismo M I Aulaskari <au...@cc.helsinki.fi>.
I just first got all userid:s with the api and then looped over the
/users/{userId} , I think the speed was something like 3000 deletions per
hour.
--
Yst terv Ismo
Ismo Aulaskari
Helsingin yliopisto, tietotekniikkakeskus
Ismo.Aulaskari@Helsinki.Fi
On Mon, 9 Nov 2015, Korhonen Tommi wrote:
> Thanks Ismo!
>
> Have you used /users/bulk action (can it be used to remove all users?) or DELETE /users/{userId} for each user? Where can I find documentation how the bulk request works, what parameters are needed, etc.?
>
>
> -----Original Message-----
> From: Ismo M I Aulaskari [mailto:aulaskar@cc.helsinki.fi]
> Sent: 9. marraskuuta 2015 14:34
> To: user@syncope.apache.org
> Subject: Re: Deleting multiple users
>
>
> On Mon, 9 Nov 2015, Korhonen Tommi wrote:
>
> >
> > Hello,
> >
> >
> >
> > Syncope UI allows to delete max. 50 users per bulk action. I need to
> > delete over 8000 users from my test setup. Is there faster ways to delete so many users at once?
>
> I used the rest api.
>
> --
> Yst terv Ismo
>
> Ismo Aulaskari
> Helsingin yliopisto, tietotekniikkakeskus Ismo.Aulaskari@Helsinki.Fi
>
RE: Deleting multiple users
Posted by Korhonen Tommi <to...@thl.fi>.
Thanks Ismo!
Have you used /users/bulk action (can it be used to remove all users?) or DELETE /users/{userId} for each user? Where can I find documentation how the bulk request works, what parameters are needed, etc.?
-----Original Message-----
From: Ismo M I Aulaskari [mailto:aulaskar@cc.helsinki.fi]
Sent: 9. marraskuuta 2015 14:34
To: user@syncope.apache.org
Subject: Re: Deleting multiple users
On Mon, 9 Nov 2015, Korhonen Tommi wrote:
>
> Hello,
>
>
>
> Syncope UI allows to delete max. 50 users per bulk action. I need to
> delete over 8000 users from my test setup. Is there faster ways to delete so many users at once?
I used the rest api.
--
Yst terv Ismo
Ismo Aulaskari
Helsingin yliopisto, tietotekniikkakeskus Ismo.Aulaskari@Helsinki.Fi
Re: Deleting multiple users
Posted by Ismo M I Aulaskari <au...@cc.helsinki.fi>.
On Mon, 9 Nov 2015, Korhonen Tommi wrote:
>
> Hello,
>
>
>
> Syncope UI allows to delete max. 50 users per bulk action. I need to delete over 8000 users from my test setup. Is there faster ways to delete
> so many users at once?
I used the rest api.
--
Yst terv Ismo
Ismo Aulaskari
Helsingin yliopisto, tietotekniikkakeskus
Ismo.Aulaskari@Helsinki.Fi