code: public function delete($path, $data = array(), $headers = array())
      {
          if (!empty($data)) {
              $pathData = [];
              $pos = strpos($path, '?');
              if ($pos !== false) {
                  parse_str(substr($path, $pos + 1), $pathData);
                  $path = substr($path, 0, $pos);
              }
              $path .= '?' . $this->http_build_query(array_merge($pathData, $data));
          }
          return $this->postprocessResponse(
              parent::delete($path, $headers)
          );
      }
docs: Make a DELETE call to the API
  
  For queries to individually identified endpoints (e.g.
  `accounts/1/users/123`), return a CanvasObject representing the API
  response describing _that_ individually identified object affected by
  the query.
  
  @api
  
  @param string $path Path to the API endpoint of this call
  @param string|string[] $data (Optional) Query parameters for this call
  @param string|string[] $headers (Optional) Any additional HTTP headers for this call
  
  @return CanvasObject|false