← Files GoodMemARCHIVED FILE

skills/goodmem-sdk/references/typescript/users/update.md

578 Bytes · Oct 4, 2026 · 12:23 UTC

↓ Download file

<!-- sdk-ref package=@pairsystems/goodmem registry=npm version=0.1.6 -->

# users.update

Updates only fields present in the request. Empty username or displayName values clear those optional fields. Updating a deleted user fails with 412.

```ts
update(id: string, request: UpdateUserRequest, requestOptions?: RequestOptions): Promise<UserResponseShape>
```

[users](../users.md) · [TypeScript](../../typescript.md)

Related types — open only those used by your request:

- [RequestOptions](../models/RequestOptions.md)
- [UpdateUserRequest](../models/UpdateUserRequest.md)

SHA-256: 1351976c5bcc83f0fb53dbab056ac9d33ba32c69df9bf1864e85e502e3715d49