- Loading...
- No images or files uploaded yet.
|
|
ApiFunction_deletedelete
Description
This method deletes a file or folder.
Input parameters:
Output parameters:
REST
Request
Response
<?xml version='1.0' encoding='UTF-8'?> <response> <status>s_delete_node</status> </response>
SOAP
Request
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:boxnet" xmlns:types="urn:boxnet/encodedTypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" > <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <tns:delete> <api_key xsi:type="xsd:string">rrc1d3ntb53tt6b2vhail6rdtrsxov3v</api_key> <sid xsi:type="xsd:string">baa8b089c5a635adc0baa68aa1c61bbe</sid> <target xsi:type="xsd:string">file</target> <target_id xsi:type="xsd:long">3695</target_id> </tns:delete> </soap:Body> </soap:Envelope> Response
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="urn:boxnet" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > <SOAP-ENV:Body> <ns4:deleteResponse> <status xsi:type="xsd:string">s_delete_node</status> </ns4:deleteResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
XML
Request
<?xml version='1.0' encoding='UTF-8' ?> <request> <action>delete</action> <api_key>rrc1d3ntb53tt6b2vhail6rdtrsxov3v</api_key> <auth_token>tkm1l2ojyhgrf86zzvdqvoa6zcqss6pf</auth_token> <target>folder</target> <target_id>738</target_id> </request> Response
<?xml version='1.0' encoding='UTF-8'?> <response> <status>s_delete_node</status> </response>
Need additional assistance? Please feel free to Contact us
|