Terminate session (signout)

User-flow built for you.

URL http://localhost:4500/auth/revoke Method DELETE Body

Using this API you can terminate an active user session. You can consider this as a logout, signout mechanism

curl -X DELETE http://localhost:4500/auth/revoke

You need to provide the token in the header field Authorization quite like any other authenticated route.