Delete a file
Delete a file. For example, delete the file “IMG_0002.PNG” under “My Files”.
API
ServicesPortal/api
URI
http://portal_url/ServicesPortal/api where portal_url is the URL of the team portal.
HTTP Method
POST
Request Content-Type
application/xml
Request body example
<obj >
  <att id="name">
    <val>deleteResources</val>
  </att>
  <att id="param">
    <obj class="ActionResourcesParam">
      <att id="urls">
        <list>
          <obj class="SrcDstParam">
            <att id="src">
              <val>source_file_path_&_name</val>
            </att>
            <att id="dest"/>
          </obj>
        </list>
      </att>
      <att id="passphrase"/>
      <att id="userPassword"/>
      <att id="startFrom"/>
    </obj>
  </att>
</obj>
Expected Response status
200 OK
The request body:
src – Mandatory: The path and name of the file to be deleted. For example, /ServicesPortal/webdav/myfiles/New/IMG_0002.PNG
passphrase – The passphrase for the user. The passphrase is not encrypted.
userPassword – The password for the user. The password is not encrypted.
startFrom – The position to restart the operation if it was stopped before completion.