There are security implications here if there is a magic URL that I can click to log me out using a GET request.
You already have an admin API endpoint for logging users out.
I think you are going to have to use a custom plugin here to achieve what you want to.