URL: api/delete-login-logs/days/{userId}
Method: POST
Description : Login logs to be deleted older than certain days.
Path Parameter:
Parameter | Type | Required/Optional | Description |
userId | integer | Required | The id of the user |
Query Parameter:
Parameter | Type | Required/Optional | Description |
days | integer | Required | The days before which login logs gets deleted. |
Success Response:
{ success: true, message: "Updated Successfully" }
Error Response:
{ success: false message: "Permission denied. You don't have permission to perform this action" }