public function remove(SharedLinkType $sharedLinkType): bool
    {
        $uri = sprintf(
            '%s/shared-links/?t=%s',
            $this->clipUri($this->client->getConfig('base_uri')),
            basename($sharedLinkType->url)
        );

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

        return $response->getStatusCode() === 200;
    }
public function remove(SharedLinkType $sharedLinkType): bool
    {
        $uri = sprintf(
            '%s/shared-links/?t=%s',
            $this->clipUri($this->client->getConfig('base_uri')),
            basename($sharedLinkType->url)
        );

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

        return $response->getStatusCode() === 200;
    }
public function remove ( SharedLinkType $ sharedLinkType ) : bool { $ uri = sprintf ( '%s/shared-links/?t=%s' , $ this -> clipUri ( $ this -> client -> getConfig ( 'base_uri' ) ) , basename ( $ sharedLinkType -> url ) ) ; $ response = $ this -> client -> request ( 'DELETE' , $ uri , [ 'headers' => [ 'Accept' => 'application/json' ] , ] ) ; return $ response -> getStatusCode ( ) === 200 ; }
Remove shared link

@param SharedLinkType $sharedLinkType SharedLinkType instance

@return bool
@throws \GuzzleHttp\Exception\GuzzleException
Remove shared link