Does strapi has a logout endpoint?

Can I interfere and make a route in strapi back-end that destroys that token?