deleteUser Operation
Using deleteUser operation you can delete an existing user.
Example
SOAP request for deleteUser Operation:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:user="UserService"> <soapenv:Header/> <soapenv:Body> <user:deleteUser> <!--Optional:--> <user:authToken>admin/admin123</user:authToken> <!--Optional:--> <user:loginName>hello2</user:loginName> </user:deleteUser> </soapenv:Body> </soapenv:Envelope>
SOAP response for deleteUser Operation:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header/> <soapenv:Body> <ns:deleteUserResponse xmlns:ns="UserService"> <ns:return xsi:type="ax233:UserResponse" xmlns:ax233="http://user.services.logapp.loglogic.com/xsd" xmlns:ax234="http://services.logapp.loglogic.com/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ax234:authToken xsi:nil="true"/> <ax234:resultCount>1</ax234:resultCount> <ax234:statusCode>2000</ax234:statusCode> <ax234:statusMessage>Deleted user hello2 successfully - 1</ax234:statusMessage> <ax234:summaryOnly>false</ax234:summaryOnly> <ax233:resultSet xsi:type="ax233:UserDetail"> <ax233:alerts xsi:nil="true"/> <ax233:authenticationType>Local</ax233:authenticationType> <ax233:devices>::ffff:10.114.81.43_logapp</ax233:devices> <ax233:devices>xxxx</ax233:devices> <ax233:devices>::ffff:10.114.81.43_otherUnix</ax233:devices> <ax233:devices>::ffff:127.0.0.1_General</ax233:devices> <ax233:devices>xxxxx</ax233:devices> <ax233:devices>::1_logapp</ax233:devices> <ax233:devices>::ffff:10.114.81.43_logu</ax233:devices> <ax233:email>hello1@test.com</ax233:email> <ax233:enabled>No</ax233:enabled> <ax233:firstName>f1-update</ax233:firstName> <ax233:groups xsi:nil="true"/> <ax233:lastName>l1-new</ax233:lastName> <ax233:password/> <ax233:phone>234-567-8901</ax233:phone> <ax233:userId>1711576871403523</ax233:userId> <ax233:username>hello2</ax233:username> </ax233:resultSet> </ns:return> </ns:deleteUserResponse> </soapenv:Body> </soapenv:Envelope>
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.