PHP API to add records to queue

I am trying to add a rule to queue simple and i am using php api to do that as follows:

example:

$API->comm("/queue/simple/add", array(
    "target-address="=> "10.10.10.16",
);

and its throwing error on the debug page :

Connected...
<<< [17] /queue/simple/add
<<< [28] =target-address==10.10.10.16
>>> [5/5] bytes read.
>>> [5, 35]!trap
>>> [26/26] bytes read.
>>> [26, 8]=message=unknown parameter
>>> [5/5] bytes read.
>>> [5, 1]!done

while all other api works just fine..thanks in advance.

Are you using RouterOS v6?

In it, the “target-addresses” parameter has been renamed “target”, to reflect the fact that it can accept either an interface or an IP address.