login(); $res = $api->delete('profile/id', []); print_r(json_decode($res)); //this is the expected response //stdClass Object //( // [status] => 200 //)