public function delete(string $projectKey, string $keyId)
    {
        $response = $this->httpDelete(sprintf('/api/v2/projects/%s/keys/%s', $projectKey, $keyId));

        if (!$this->hydrator) {
            return $response;
        }

        if ($response->getStatusCode() !== 204) {
            $this->handleErrors($response);
        }

        return true;
    }