logout
Last updated
Logs out a user by removing their authentication token from the server.
The request body should contain the authentication token and user ID to be logged out.
{
"authToken":"<authentication token>",
"userId":"<user id>"
}Returns the status of the logout request.
POST /api/logout
{
"authToken":"abc123token",
"userId":"user123"
}You should get back:
Last updated
{
"status": "success"
}