Help with API

What I want is to execute this sentence in the microtik api but I do not know how it is written in the api I have tried several ways and nothing, could you help me

/ip dhcp-client release [find interface=wlan4]

i try this but dont work

$API->connect($ipRouteros , $Username , $Pass, $api_puerto)){
$API->write (“/ip/dhcp-client/release”, false);
$API->write ( ‘=[find/interface=wlan4]=’);
$API->read ( false );
}

Help Pleaseeeee