Revoke token

Is there anyway possible for a user to revoke a token via the API?

I tried a POST request but no luck, I couldn’t find anything in the docs so assume the user needs to do this with their user account settings where connected apps are. Not the best UX, any help appreciated.