xQueueOverwrite() when queue has more than 1 item

I need a method to overwrite the oldest value in the queue. I was briefly looking at the kernel code and it looks the xQueueOverwrite() will do just this? Can you let me know if this is safe?

xQueueOverwrite() when queue has more than 1 item

I think xQueueOverwrite() is expected to be used with queues that only have one space, so the queue is used as what some RTOSes call a mailbox – it does not sound like that is the case in your application.