original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Delete a key.
  
  @param string $projectKey
  @param string $keyId
  
  @return bool|ResponseInterface
docstring_tokens: Delete a key .