import { ProficientClient } from "@proficient/client";const proficient = new ProficientClient({ apiKey: process.env.PROFICIENT_AI_PUBLISHABLE_KEY, userExternalId: "...", // The user's unique ID in your system});const userId = "u_1eRoyubdUqWifFiTREaLcvh6";const user = await proficient.users.update(userId, { // ... fields to update});
Updates the properties of the specified user. Only the provided properties will be updated. Any properties not provided will be left unchanged.
POST
/
users
/
{user_id}
Copy
import { ProficientClient } from "@proficient/client";const proficient = new ProficientClient({ apiKey: process.env.PROFICIENT_AI_PUBLISHABLE_KEY, userExternalId: "...", // The user's unique ID in your system});const userId = "u_1eRoyubdUqWifFiTREaLcvh6";const user = await proficient.users.update(userId, { // ... fields to update});
import { ProficientClient } from "@proficient/client";const proficient = new ProficientClient({ apiKey: process.env.PROFICIENT_AI_PUBLISHABLE_KEY, userExternalId: "...", // The user's unique ID in your system});const userId = "u_1eRoyubdUqWifFiTREaLcvh6";const user = await proficient.users.update(userId, { // ... fields to update});