cURL
curl --request PATCH \ --url https://apiweb.mile.app/api/v3/user \ --header 'Content-Type: application/json' \ --data ' { "name": "your update name" } '
{ "status": true, "message": "Data has been updated successfully.", "property": { "_id": "65c1f4eeca7c4816d94587b7", "name": "Example", "email": "example@mile.app", "provider": "web", "hubId": [], "organizationId": "65c1f4eeca7c4816d94587b2", "status": "active", "lastLogin": "2024-06-18T03:54:47+00:00", "roleId": "65c1f4eeca7c4816d94587b3", "activationCode": "5dc25a36e280ba34ef6dfe1f54dcb5d6", "onboardingStep": [], "teamId": [], "updatedTime": "2024-06-18T04:42:04+00:00", "createdTime": "2024-02-06T08:59:26+00:00", "phoneNumber": null, "dynamicVisitTime": [] } }
This endpoint allows you to update the details of a specific user in the system. and the data to be updated is provided in the request body
The name of user. Example: Jhon doe
Jhon doe
The email of user. Example: example@mile.app
example@mile.app
The phone number of user. Example: +628123456789
+628123456789
OK
object of user.
Status of response.
Message of response.