code: public function delete($endpoint, $query = [])
      {
          $endpoint = $this->buildUri($endpoint, $query);
          $headers = $this->buildHeaders();
  
          $this->response = $this->client->delete($endpoint, $headers);
  
          return $this->response;
      }
docs: DELETE request.
  
  @param string $endpoint The sub endpoint
  @param array  $query    Query parameters
  
  @return object