This might be a little late, but since the question still pops up on the Google search, I thought I answer it.
The following command works in 6.2.7* and above, but does not show up as an argument when trying to auto complete:
diagnose ip rtcache flush
*I don't have a system with a lower FortiOS to test.
Here is the corresponding Fortinet Community article.