code: public function delete($path)
      {
          try {
              $this->getFile($path)->delete();
          } catch (ApiRequestFailedException $e) {
              return false;
          }
  
          return true;
      }
docs: {@inheritdoc}