How to delete JWT token/logout

I'm looking for a way to essentially logout a user that is using custom auth. For JWT tokens, the way to logout is essentially to delete the token. How can I delete the variable defined during the custom auth flow that is holding the auth token?

Hi @showalter, at the moment we don't have a way to programmatically revoke tokens from within an app. It may be possible via the endpoint that's granting the token, however, if you can send a request that indicates that the token should be revoked.