curl -X POST https://hapi.7331.org/v1/authentication/logout \
-b cookies.txt
{
"status": "success",
"message": "Logged out successfully"
}
Invalidate the current user session and clear authentication cookies.
curl -X POST https://hapi.7331.org/v1/authentication/logout \
-b cookies.txt
{
"status": "success",
"message": "Logged out successfully"
}
Was this page helpful?