---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../../modules.md) / [operations/users](../index.md) / updateUser

# Function: updateUser()

> **updateUser**(`client`, `options`): `Promise`\<\{ \}\>

Defined in: [packages/b2c-tooling-sdk/src/operations/users/index.ts:169](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/operations/users/index.ts#L169)

Updates an existing user.

## Parameters

### client

[`AccountManagerUsersClient`](../../../clients/type-aliases/AccountManagerUsersClient.md)

Account Manager client

### options

[`UpdateUserOptions`](../interfaces/UpdateUserOptions.md)

Update options (userId, changes)

## Returns

`Promise`\<\{ \}\>

Updated user
