URL: api/allow-login-logs/{userId}/{status}
Method: POST
Description : Gets the list of all the login logs for a user along with IP , browser and device info.
Path Parameter:
Parameter | Type | Required/Optional | Description |
userId | integer | Required | The id of the user |
status | boolean | Required | Status for alerts (1 or 0) |
Success Response:
{ success: true, message: "Updated Successfully" }
Error Response:
{ success: false message: "Permission denied. You don't have permission to perform this action" }