public function remount($from, $to)
    {
        $body = compact('from', 'to');

        $params = [
            'body' => json_encode($body)
        ];

        return $this->client->post('/v1/sys/remount', $params);
    }
public function remount($from, $to)
    {
        $body = compact('from', 'to');

        $params = [
            'body' => json_encode($body)
        ];

        return $this->client->post('/v1/sys/remount', $params);
    }
public function remount ( $ from , $ to ) { $ body = compact ( 'from' , 'to' ) ; $ params = [ 'body' => json_encode ( $ body ) ] ; return $ this -> client -> post ( '/v1/sys/remount' , $ params ) ; }
Remount an already-mounted backend to a new mount point.

@see    https://www.vaultproject.io/docs/http/sys-remount.html
@param  string $from
@param  string $to
@return mixed
Remount an already - mounted backend to a new mount point .