cURL
curl --request POST \ --url https://apiweb.mile.app/api/v3/member/reset-password \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "userId": "66791b2ef001a712b77b3627", "password": "1QklJb@ap" } '
{ "status": true, "property": { "_id": "66791b2ef001a712b77b3627", "hubId": [ "66a98d2e598d9f20f63764f2" ], "organizationId": "66791b2bf001a712b77b3622", "updatedTime": "2024-12-29T12:38:39+00:00", "lastLogin": "2024-12-28T12:03:56+00:00", "isDeleted": false, "docId": "66791b2ef001a712b77b3627", "roleId": "66791b2cf001a712b77b3623", "teamId": [], "name": "User", "createdTime": "2024-06-24T07:07:26+00:00", "email": "user@mile.app", "status": "active" }, "message": "Your password has been updated successfully." }
This endpoint for reset password of the specific authenticated user and Only the Owner role can reset the password for another Owner.
Use a valid Bearer token to authenticate.
The Id of user. Example: 66791b2ef001a712b77b3627
66791b2ef001a712b77b3627
String that must contain lowercase, uppercase, number and symbols. Example: 1QklJb@ap
1QklJb@ap
Success
Status of response.
Message of response.
object of user.