Handles user logout by terminating the session and clearing related data.
curl --request GET \
--url https://api.helpyousponsor.com/v1/frontend/logout/{client_id}/{program_id}/{session_id}
{
"message": "You have successfully logged out.",
"status": "success"
}
Client ID for the logout
Program ID for the logout
Session ID to be terminated
Logout successful
The response is of type object
.
curl --request GET \
--url https://api.helpyousponsor.com/v1/frontend/logout/{client_id}/{program_id}/{session_id}
{
"message": "You have successfully logged out.",
"status": "success"
}