Skip to main content
PUT
/
users
/
{userId}
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
}

Authorizations

Authorization
string
header
required

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

Path Parameters

userId
string
required

The user's unique identifier

Example:

"507f1f77bcf86cd799439011"

Body

application/json
firstName
string

The first name of the user.

lastName
string

The last name of the user.

email
string<email>

Email address of the user.

uniqueUserId
string

Unique user ID assigned by the institution

accountStatus
enum<string>

Current status of the user account

Available options:
active,
inactive

Response

User updated successfully

data
object
required
success
boolean
required

Indicates if the request was successful