---
title: "Update List"
method: PUT
path: "/lists/{name}"
tags: ["Lists"]
---

# Update List

`PUT /lists/{name}`

Update existing list. Required Access Level: ModifyContacts

## Path parameters

- `name` string, string, required — string

## Request body

- ListUpdatePayload
  - `NewListName` string, string — Name of your list if you want to change it.
  - `AllowUnsubscribe` boolean — True: Allow unsubscribing from this list. Otherwise, false

## Response `200`

OK

- ContactsList — List of Lists, with detailed data about its contents.
  - `ListName` string, string — Name of your list.
  - `PublicListID` string, guid, nullable — ID code of list. Please note that this is different from the listid field.
  - `DateAdded` string, date-time — Date of creation in YYYY-MM-DDThh:ii:ss format
  - `AllowUnsubscribe` boolean — True: Allow unsubscribing from this list. Otherwise, false

---

[API](https://skmtc.net/elasticemail/apis/megamail-api.md) · [All operations](https://skmtc.net/elasticemail/apis/megamail-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elasticemail/megamail-api/versions/1a0ebb83f676/schema)
