cURL
curl --request PUT \ --url https://api.yourjobsearchgenius.ai/v1/users/{userId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "firstName": "<string>", "lastName": "<string>", "email": "[email protected]", "uniqueUserId": "<string>", "accountStatus": "active" } '
{ "data": { "_id": "<string>", "firstName": "<string>", "lastName": "<string>", "email": "<string>", "uniqueUserId": "<string>", "accountStatus": "active", "autoLoginUrl": "<string>" }, "success": true }
Updates user information with partial update support.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The user's unique identifier
"507f1f77bcf86cd799439011"
The first name of the user.
The last name of the user.
Email address of the user.
Unique user ID assigned by the institution
Current status of the user account
active
inactive
User updated successfully
Show child attributes
ID of the user (MongoDB ObjectId)
Auto login URL for the user
Indicates if the request was successful