A member of the Australian Defence Force who told police he was attacked by two men of Middle Eastern appearance outside his north-western Sydney home has now withdrawn his complaint.

NSW Police issued a statement on Friday announcing the "allegation of assault has now been withdrawn".

"NSW Police will continue to examine the circumstances that led to the allegation being brought to their attention," the statement said.

The 41-year-old man told police he was threatened and assaulted by two men while wearing his full uniform at Bella Vista at 6.30am on Thursday.