curl -X POST https://hapi.7331.org/v1/users/me/sessions/destroy \
-b cookies.txt
{
"destroyed": 3
}
Destroy all sessions except the current one.
curl -X POST https://hapi.7331.org/v1/users/me/sessions/destroy \
-b cookies.txt
{
"destroyed": 3
}
curl -X POST https://hapi.7331.org/v1/users/me/sessions/destroy \
-b cookies.txt
{
"destroyed": 3
}
Was this page helpful?