src/Contracts/Driver.php
/**
     * Delete a pinned IPFS object.
     * @return object Guzzle Response.
     */
Delete a pinned IPFS object.
@return object Guzzle Response.
Delete a pinned IPFS object . @return object Guzzle Response .
public static function pinRemove($hash)
    {
        $api = [
        'path'    => 'http://localhost:5001/api/v0/pin/rm',
        'method'  => 'POST',
        'query'   => ['arg'=> $hash],
        'file'    => null
        ];
        $cmd = null;
        $response = (new self())->handleCall($api, $cmd);
        return json_decode($response);
    }
public static function pinRemove ( $ hash ) { $ api = [ 'path' => 'http://localhost:5001/api/v0/pin/rm' , 'method' => 'POST' , 'query' => [ 'arg' => $ hash ] , 'file' => null ] ; $ cmd = null ; $ response = ( new self ( ) ) -> handleCall ( $ api , $ cmd ) ; return json_decode ( $ response ) ; }
Delete a pinned IPFS object.
Delete a pinned IPFS object .