Movedigital.files.deleteFile
From MoveDigital Docs
| Table of contents |
[edit]
Arguments
Calls are POSTed to http://www.movedigital.com/services/rest/ and should include the following arguments
- method (required) - Must be set to: movedigital.files.deleteFile
- userid (required) - The userid of the MoveDigital account.
- sessionid (required) - The sessionid for the current session.
- session (required) - The session value for the associated sessionid.
- fileid (required) - The fileid you wish to delete.
- testtransaction (optional) - If set to '1', the file deletion is only simulated.
[edit]
Example Responses
- Success
<?xml version="1.0" encoding="utf-8" ?> <rsp stat="ok"> <method>movedigital.files.deleteFile</method> <format>rest</format> <messages> <message msg="Successfully deleted file." /> </messages> </rsp>
- Error
<?xml version="1.0" encoding="utf-8" ?> <rsp stat="fail"> <method>movedigital.files.deleteFile</method> <errors> <error code="108" msg="An internal error occurred while attempting to delete this file." /> </errors> </rsp>
[edit]
Warning Codes
- 2 - Warning: File may be in torrent or have mobile stream.
[edit]
Error Codes
- 83 - File not found.
- 98 - Insufficient permissions.
- 99 - User not signed in.
- 108 - Internal error.
- 109 - Service is currently unavailable.
[edit]

