ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Unable to delete a vip user via API

book

Article ID: 226182

calendar_today

Updated On:

Products

VIP Service

Issue/Introduction

Using below example with a real user, I am unable to to delete a user via API.

<?xml version="1.0" encoding="UTF-8"?>
<S:Envelope xmlns:S='http://​schemas.​xmlsoap.​org/​soap/​envelope/'
xmlns=https://schemas.symantec.com/vip/2011/04/vipuserservices>
<S:Body>
<deleteUserRequest>
<requestId>1234abcd</requestId>
<userId>T114951</userId>
</deleteUserRequest>
</S:Body>
</S:Envelope>

I get the following error - can you please confirm if this the correct XML for deleting a user

"Couldn't create SOAP message due to exception: XML reader error: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'h' (code 104) in start tag Expected a quote"

Environment

Release :

Component :

Resolution

Below is the working sample request to delete the user:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:vip="https://schemas.symantec.com/vip/2011/04/vipuserservices">
   <soapenv:Header/>
   <soapenv:Body>
      <vip:DeleteUserRequest>
         <vip:requestId>1234abcd</vip:requestId>
         <vip:userId>T114951</vip:userId>
      </vip:DeleteUserRequest>
   </soapenv:Body>
</soapenv:Envelope>