Logout, Remove session
Method: GET
/api/ps/logout
Headers
'Content-Type': 'application/json'
Parameters
None
Code samples
await fetch('/api/ps/logout', {
method: 'GET',
headers: {
'Content-Type': 'application/json'
}
}).then(async (response) => {
console.log(response)
})
HTTP response status codes
Status code | Description |
---|---|
200 | OK |
500 | Internal Error |
Status: 500
{
"code": 500,
"message": "Internal Error"
}