src/PutIO/Engines/PutIO/TransfersEngine.php
public function cancel($transferIDs)
    {
        if (is_array($transferIDs)) {
            $transferIDs = implode(',', $transferIDs);
        }

        $data = [
            'transfer_ids' => $transferIDs
        ];

        return $this->post('transfers/cancel', $data, \true);
    }
public function cancel($transferIDs)
    {
        if (is_array($transferIDs)) {
            $transferIDs = implode(',', $transferIDs);
        }

        $data = [
            'transfer_ids' => $transferIDs
        ];

        return $this->post('transfers/cancel', $data, \true);
    }
public function cancel ( $ transferIDs ) { if ( is_array ( $ transferIDs ) ) { $ transferIDs = implode ( ',' , $ transferIDs ) ; } $ data = [ 'transfer_ids' => $ transferIDs ] ; return $ this -> post ( 'transfers/cancel' , $ data , \ true ) ; }
Cancels given transfers.

@param int|array $transferIDs   Transfer IDs you want to cancel.
@return boolean
Cancels given transfers .