Hi Nilasini, There is a another mail thread[1] regarding delete bulk users.
[1] "Shouldn't we have an admin service method to delete set of users at once" Thanks, Iqbal On Thu, Nov 9, 2017 at 1:00 PM, Nilasini Thirunavukkarasu <[email protected] > wrote: > Same way for scim2 also we have the code[1] for bulk user deletion but it > doesn't work.Found the bulk user creation curl request from[2] since there > is no bulk user delete request change the request as[3] and tried, it is > not working. > > Any help on this is highly appreciated. > > [1] https://github.com/wso2/charon/blob/master/modules/charon- > core/src/main/java/org/wso2/charon3/core/protocol/BulkRequ > estProcessor.java > [2]https://docs.wso2.com/display/ISCONNECTORS/Configuring+ > SCIM+2.0+Provisioning+Connector#ConfiguringSCIM2.0Pr > ovisioningConnector-/BulkEndpoint > [3] > curl -v -k --user admin:admin --data '{"failOnErrors":1,"schemas":[ > "urn:ietf:params:scim:api:messages:2.0:BulkRequest"],"Operations":[{"method": > "DELETE","path": "/Users","bulkId": "qwerty","data":{"schemas":[" > urn:ietf:params:scim:schemas:core:2.0:User"],"userName": > "Kris","password":"krispass"}},{"method": "DELETE","path": > "/Users","bulkId":"ytrewq","data":{"schemas":["urn:ietf: > params:scim:schemas:core:2.0:User","urn:ietf:params:scim: > schemas:extension:enterprise:2.0:User"],"userName":"Jesse", > "password":"jessepass","urn:ietf:params:scim:schemas: > extension:enterprise:2.0:User":{"employeeNumber": "11250","manager": > {"value": "bulkId:qwerty"}}}}]}' --header "Content-Type:application/json" > https://localhost:9443/scim2/Bulk > > On Thu, Aug 31, 2017 at 10:51 AM, Nilasini Thirunavukkarasu < > [email protected]> wrote: > >> Hi, >> >> I have tried to use bulk user deletion according to the blog[1] since we >> don't have documentation on it yet. I couldn't get the response as we >> expect. The bulk user deletion request is not working. It seems we didn't >> implement the bulk user deletion part according to [2]. Is there any way to >> get this confirmed? Does anybody have any idea how did this work previously? >> >> >> [1] https://malalanayake.wordpress.com/2013/05/28/scim-bulk-endp >> oint-operations-in-wso2-identity-server/ >> >> [2] https://github.com/wso2/charon/blob/v2.1.0/modules/charon-co >> re/src/main/java/org/wso2/charon/core/protocol/BulkRequestPr >> ocessor.java#L110-L127 >> >> >> Thanks, >> T.Nila. >> -- >> Nilasini Thirunavukkarasu >> Software Engineer - WSO2 >> >> Email : [email protected] >> Mobile : +94775241823 <+94%2077%20524%201823> >> Web : http://wso2.com/ >> >> >> <http://wso2.com/signature> >> > > > > -- > Nilasini Thirunavukkarasu > Software Engineer - WSO2 > > Email : [email protected] > Mobile : +94775241823 <+94%2077%20524%201823> > Web : http://wso2.com/ > > > <http://wso2.com/signature> > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Irham Iqbal Software Engineer WSO2 phone: +94 777888452 <http://wso2.com/signature>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
