Title: Logout API
Last modified: August 21, 2016

---

# Logout API

 *  Resolved [andrewjmead](https://wordpress.org/support/users/andrewjmead/)
 * (@andrewjmead)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/logout-api/)
 * I can’t seem to find a logout endpoint. Is one included?
 * [https://wordpress.org/plugins/json-api-auth/](https://wordpress.org/plugins/json-api-auth/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/logout-api/#post-5118682)
 * I will update the plugin shortly for that. it’s not included in the current version.
 *  [greatdex](https://wordpress.org/support/users/greatdex/)
 * (@greatdex)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/logout-api/#post-5118708)
 * Good job Ali, thank you
 *  [greatdex](https://wordpress.org/support/users/greatdex/)
 * (@greatdex)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/logout-api/#post-5118713)
 * in a glance, that would be done with destroying cookies or refresh? well… confused..
 *  Thread Starter [andrewjmead](https://wordpress.org/support/users/andrewjmead/)
 * (@andrewjmead)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/logout-api/#post-5118716)
 * Wow Ali, thanks so much! If you wouldn’t mind, could you reply here once it’s
   updated?
 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/logout-api/#post-5118726)
 * Don’t worry, you will automatically get notification from WordPress plugin that
   a new version is available. I will release it tomorrow after updating some other
   things.
 * Thanks
 *  [smartsite4u](https://wordpress.org/support/users/smartsite4u/)
 * (@smartsite4u)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/logout-api/#post-5118930)
 * Hello Ali, does this have logout api yet?
 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/logout-api/#post-5118931)
 * yes, clear_auth_cookie was added in the last release.
 *  [takut](https://wordpress.org/support/users/takut/)
 * (@takut)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/logout-api/#post-5118958)
 * Hi!
 * I’m using this plugin but I don’t understand how logout works.
 * I’ve generated a new cookie, then I’ve validated it. Everything works well.
 * If I clear the cookie, I receive the following response: {“status”:”ok”,”valid”:
   false}
    If I validate again the same cookie, I receive valid: {“status”:”ok”,”
   valid”:true}
 * Is that correct?
 * Thank you
 *  Plugin Author [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * (@parorrey)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/logout-api/#post-5118959)
 * Yes, that is bug and actually clear_auth_cookie is not working the way it is 
   supposed to.
 * I will fix this issue in the next update.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Logout API’ is closed to new replies.

 * ![](https://ps.w.org/json-api-auth/assets/icon-256x256.png?rev=1965697)
 * [JSON API Auth](https://wordpress.org/plugins/json-api-auth/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-api-auth/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-api-auth/)
 * [Active Topics](https://wordpress.org/support/plugin/json-api-auth/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-api-auth/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-api-auth/reviews/)

 * 9 replies
 * 5 participants
 * Last reply from: [Ali Qureshi](https://wordpress.org/support/users/parorrey/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/logout-api/#post-5118959)
 * Status: resolved