Logout All
POST
/api/auth/logout-all
const url = 'http://localhost:8080/api/auth/logout-all';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
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:8080/api/auth/logout-all \ --header 'Authorization: Bearer <token>'Revoke every token issued so far; the caller continues with the returned one.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Examplegenerated
example