Skip to main content
PATCH
/
auth
/
v1
/
users
/
{id}
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

ID of the user to update

Body

application/json

User data to update

firstName
string

First name of the user

lastName
string

Last name of the user

email
string<email>

Email address of the user

Response

200 - application/json

User updated successfully

firstName
string
required

The first name of the user

lastName
string
required

The last name of the user

email
string
required

The email of the user

password
string
required

The password of the user