/v1/auth/logout
POST
/v1/auth/logout
const url = 'http://localhost:8787/v1/auth/logout';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:8787/v1/auth/logoutResponses
Section titled “Responses”Session cookies cleared; the presented refresh token’s family is revoked, if any.
Media typeapplication/json
object
loggedOut
required
boolean
Example
{ "loggedOut": true}