AuthsController_logout
POST
/auths/logout
const url = 'https://example.com/auths/logout';const options = {method: 'POST', headers: {'x-tenant-schema': 'example'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/auths/logout \ --header 'x-tenant-schema: example'Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”x-tenant-schema
required
string
The tenant of the request.
Responses
Section titled “Responses”The session of the refresh cookie is revoked and the cookies are cleared, also for an unknown cookie.