public function remove($libraryId): bool
    {
        // do not allow empty IDs
        if (empty($libraryId)) {
            return false;
        }

        $uri = sprintf(
            '%s/repos/%s/',
            $this->clipUri($this->client->getConfig('base_uri')),
            $libraryId
        );

        $response = $this->client->request(
            'DELETE',
            $uri,
            [
                'headers' => ['Accept' => 'application/json'],
            ]
        );

        return $response->getStatusCode() === 200;
    }
public function remove($libraryId): bool
    {
        // do not allow empty IDs
        if (empty($libraryId)) {
            return false;
        }

        $uri = sprintf(
            '%s/repos/%s/',
            $this->clipUri($this->client->getConfig('base_uri')),
            $libraryId
        );

        $response = $this->client->request(
            'DELETE',
            $uri,
            [
                'headers' => ['Accept' => 'application/json'],
            ]
        );

        return $response->getStatusCode() === 200;
    }
public function remove ( $ libraryId ) : bool { // do not allow empty IDs if ( empty ( $ libraryId ) ) { return false ; } $ uri = sprintf ( '%s/repos/%s/' , $ this -> clipUri ( $ this -> client -> getConfig ( 'base_uri' ) ) , $ libraryId ) ; $ response = $ this -> client -> request ( 'DELETE' , $ uri , [ 'headers' => [ 'Accept' => 'application/json' ] , ] ) ; return $ response -> getStatusCode ( ) === 200 ; }
Remove a library

@param string $libraryId Library ID

@return bool
@throws \GuzzleHttp\Exception\GuzzleException
Remove a library