#382 - add a setDeleteFileEndpoint API function for this feature that mirrors the behavior of the existing setEndpoint API function