URL: api/logoutFromAllDevice/{userId}
Method: POST
Description : Logout a user from all the current sessions.
Path Parameter:
| Parameter | Type | Required/Optional | Description |
| userId | integer | Required | The id of the user |
Query Parameter:
| Parameter | Type | Required/Optional | Description |
| password | string | Required | The password of the user |
Success Response:
{
success: true,
message: "You have been logged out from all other devices"
}
Error Response:
{
success: false,
message: "Incorrect Password"
}