---
schema_version: "1"
id: 2593122d10aeede2473a94d46ae7590037d36bdbe1bbb488f96c59e0ec1766ea
title: Subscribers.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_listSubscribersUpdate.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_listSubscribersUpdate.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 2da49d48bb3cb98b68b1438b074907b9de0857e10daefa46f5d82872f4594c54
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Subscribers.Update

## Overview

Updates the status of the specified subscriber on the initialized list. Initialize the list using the list's external key value

### Syntax

Subscribers.Update(1, 2)

### Function Properties

<!--complex table-->

| Ordinal | Type   |              | Description                                                                                                                               |
| ------- | ------ | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------- |
| **1**   | string | **Required** | Attribute containing Email address of subscriber or a JSON object containing the EmailAddress and SubscriberKey values for the subscriber |
| **2**   | string | **Required** | New status of subscriber on initialized list                                                                                              |

## Example

This sample code sets the status of the subscriber to active.

```
var myList = List.Init("myList");
var status = myList.Subscribers.Update("aruiz@example.com","Active");
```
