How to update your user's reference.
Last updated 10 months ago
Use the following endpoint to update the reference of a user by their userId.
reference
userId
HTTP
PUT /api/users/{userId}
Path
The ID of the user whose reference you want to update
String
✅
Body
The new reference text
❌
JSON
{ "reference": "Updated reference" }
{ "success": true, "result": { "id": "07cc0aa5-0f98-4a4e-9c55-686124e0f0e4", "reference": "Updated reference", "createdAt": "2023-12-06T14:53:13.985862" } }