DeleteResource Method
Trashes or permanently deletes a resource.
Object Oriented Interface
public function doDeleteResource($resourceid);
Procedural Interface
ipworkscloud_box_do_deleteresource($res, $resourceid);
Remarks
This method trashes the resource specified by ResourceId. If the resource is already in the trash, it is permanently deleted instead.
To list trashed resources, call ListResources and pass trash for the FolderId method parameter.