public function delete($endpoint, array $headers = [], array $options = [])
    {
        $url = $this->baseUrl . '/' . $endpoint;

        try {
            $client = $this->buildClient($options);
            $options += [
                'auth' => [$this->username, $this->password],
                'headers' => $headers,
            ];

            $response = $client->request('DELETE', $url, $options);
        } catch (GuzzleClientException $exception) {
            $response = $exception->getResponse();

            throw new ClientException(
                $exception->getMessage(),
                $this->parseResponse($response),
                $exception->getRequest(),
                $response,
                $exception->getPrevious(),
                $exception->getHandlerContext()
            );
        }
        return $this->parseResponse($response);
    }