---
schema_version: "1"
id: 38f28173a66f490295e03963fedfe4c977c10887ab4002da819e6730e7496985
title: Update
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_accountUserUpdate.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_accountUserUpdate.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: a424a25849b0e03432602af2be0bdd0a3b4c67e1bf228b9b5de5a19d2367e15a
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Update

## Overview

Updates the account and returns a status

### Syntax

Update(1)

### Function Properties

<!--complex table-->

| Ordinal | Type   |              | Description                            |
| ------- | ------ | ------------ | -------------------------------------- |
| **1**   | string | **Required** | Attributes regarding account to change |

## Example

This sample code changes the password of the account user specified by the external key.

```
var acctUser = AccountUser.Init('myAccountUser', 123456789);
var status = acctUser.Update({ "Password" : "XXXXX" });
```
