Invoice archive end point 500 error

I am sending a request to this endpoint /api/v1/invoices/{invoice_id}/archive and I keep getting a 500 error. Is this the correct url to archive an invoice?

@bartleby

We’ve corrected this, can you advise if you are still seeing this issue?

It’s working great now, thanks!