Skip to main content
PUT
/
api
/
v1
/
users
/
{user_id}
Update User
curl --request PUT \
  --url https://api.recallrai.com/api/v1/users/{user_id} \
  --header 'Content-Type: application/json' \
  --header 'X-Recallr-Api-Key: <x-recallr-api-key>' \
  --header 'X-Recallr-Project-Id: <x-recallr-project-id>' \
  --data '
{
  "new_user_id": "<string>",
  "new_metadata": {}
}
'
{
  "user": {
    "user_id": "<string>",
    "metadata": {},
    "created_at": "2023-11-07T05:31:56Z",
    "last_active_at": "2023-11-07T05:31:56Z"
  }
}

Headers

X-Recallr-Project-Id
string<uuid>
required
X-Recallr-Api-Key
string
required

Path Parameters

user_id
string
required

Body

application/json
new_user_id
string | null
new_metadata
The new metadata of the user · object

Response

User updated successfully

user
UserInfo · object
required