title: Change Profile of PPP Secret in Mikrotik using Mikrotik API
body: <p>I just want to use this code ( ppp secret set profile="NON-Payment" ) instead of using ( /ppp/secret/disable ) in the 3rd last last line of this code. I tried but no success. Please help.</p>
  
  <pre><code>try {
              $client = new RouterOS\Client($m['ip_address'], $m['username'], $m['password']);
          } catch (Exception $e) {
              die('Unable to connect to the router.');
          }
          $printRequest = new RouterOS\Request('/ppp/secret/print');
          $printRequest-&gt;setArgument('.proplist', '.id');
          $printRequest-&gt;setQuery(RouterOS\Query::where('name', $c['username']));
          $id = $client-&gt;sendSync($printRequest)-&gt;getProperty('.id');
          $setRequest = new RouterOS\Request('/ppp/secret/disable');
          $setRequest-&gt;setArgument('numbers', $id);
          $client-&gt;sendSync($setRequest);
  </code></pre>