cURL
curl --request PATCH \ --url https://api-dev.meeamitech.com/auth/v1/users/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "firstname": "john", "lastname": "Doe", "email": "[email protected]" } '
{ "_id": "67c97464ae3d19dc2bbff05d", "teamId": "67a2ea1d828c9098134e7b92", "firstName": "john", "lastName": "Doe", "email": "[email protected]", "password": "$2b$10$I9NsnI5BWvwXXFAGLnsAs.DSUNKGoVHEYPkx.lxhT12W7rjypM/pG", "createdAt": "2025-03-06T10:09:40.301Z", "updatedAt": "2025-03-25T08:26:23.653Z", "__v": 0 }
Update a user by ID
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the user to update
User data to update
First name of the user
Last name of the user
Email address of the user
User updated successfully
The first name of the user
The last name of the user
The email of the user
The password of the user