Logout

URLRequires AuthHTTP Method
/api/v1/logoutyesGET

Example Call

<code>curl -H <span class="hljs-string">"X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq"</span> \
     -H <span class="hljs-string">"X-User-Id: aobEdbYhXfu5hkeqG"</span> \
     http://localhost:3000/api/v1/<span class="hljs-built_in">logout</span>
</code>

Result

<code>{
   <span class="hljs-attr">"status"</span>: <span class="hljs-string">"success"</span>,
   <span class="hljs-attr">"data"</span>: {
     <span class="hljs-attr">"message"</span>: <span class="hljs-string">"You've been logged out!"</span>
   }
}</code>