---
title: "Update List"
description: "How to call Update List (PATCH /api/lists/{id}) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/v2025-01-15/reference/update_list"
revision: "2025-01-15"
latestUrl: "https://developers.klaviyo.com/en/reference/update_list"
operationId: "update_list"
method: "PATCH"
endpoint: "https://a.klaviyo.com/api/lists/{id}"
authentication: "privateKey"
scopes: ["lists:write"]
rateLimits: {"burst":"10/s","steady":"150/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
related: ["https://developers.klaviyo.com/en/v2025-01-15/reference/lists/llms.txt","https://developers.klaviyo.com/en/v2025-01-15/reference/get_lists.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_list.md","https://developers.klaviyo.com/en/v2025-01-15/reference/create_list.md","https://developers.klaviyo.com/en/v2025-01-15/reference/delete_list.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_tags_for_list.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_tag_ids_for_list.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_profiles_for_list.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_profile_ids_for_list.md","https://developers.klaviyo.com/en/v2025-01-15/reference/add_profiles_to_list.md","https://developers.klaviyo.com/en/v2025-01-15/reference/remove_profiles_from_list.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_flows_triggered_by_list.md","https://developers.klaviyo.com/en/v2025-01-15/reference/get_ids_for_flows_triggered_by_list.md"]
---

# Update List

> This is the Markdown version of https://developers.klaviyo.com/en/v2025-01-15/reference/update_list

```http
PATCH https://a.klaviyo.com/api/lists/{id}
```

Update the name of a list with the given list ID.

- Revision header: `revision: 2025-01-15` (required)
- Scopes: `lists:write`
- Rate limits: Burst: `10/s`, Steady: `150/m`

## Example request

```bash
curl --request PATCH \
     --url 'https://a.klaviyo.com/api/lists/Y6nRLr' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2025-01-15' \
     --header 'content-type: application/vnd.api+json' \
     --data '{
  "data": {
    "type": "list",
    "id": "Y6nRLr",
    "attributes": {
      "name": "Newsletter"
    }
  }
}'
```

## Path parameters

- `id` (string, required): Primary key that uniquely identifies this list. Generated by Klaviyo. Example: `Y6nRLr`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2025-01-15`

## Request body

Content type: `application/vnd.api+json` (required)

- `data` (object, required)
  - `type` (string, required): Allowed values: `list`
  - `id` (string, required): Primary key that uniquely identifies this list. Generated by Klaviyo. Example: `Y6nRLr`
  - `attributes` (object, required)
    - `name` (string, required): A helpful name to label the list Example: `Newsletter`

### Example request body

```json
{
  "data": {
    "type": "list",
    "id": "Y6nRLr",
    "attributes": {
      "name": "Newsletter"
    }
  }
}
```

## Responses

### 200: Success

Content type: `application/vnd.api+json`

- `data` (object, required)
  - `type` (string, required): Allowed values: `list`
  - `id` (string, required): Primary key that uniquely identifies this list. Generated by Klaviyo. Example: `Y6nRLr`
  - `attributes` (object, required)
    - `name` (string, nullable): A helpful name to label the list Example: `Newsletter`
    - `created` (string<date-time>, nullable): Date and time when the list was created, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm) Example: `2022-11-08T00:00:00+00:00`
    - `updated` (string<date-time>, nullable): Date and time when the list was last updated, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm) Example: `2022-11-08T00:00:00+00:00`
    - `opt_in_process` (string, nullable): The opt-in process for this list.  Could be either 'single_opt_in' or 'double_opt_in'. Allowed values: `double_opt_in`, `single_opt_in`
  - `relationships` (object)
    - `profiles` (object)
      - `data` (object[]): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
      - `links` (object): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
    - `tags` (object)
      - `data` (object[]): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
      - `links` (RelationshipLinks): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
    - `flow-triggers` (object)
      - `data` (object[]): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
      - `links` (RelationshipLinks): Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
  - `links` (object, required)
    - `self` (string<uri>, required)

#### Example response body

```json
{
  "data": {
    "type": "list",
    "id": "Y6nRLr",
    "attributes": {
      "name": "Newsletter",
      "created": "2022-11-08T00:00:00+00:00",
      "updated": "2022-11-08T00:00:00+00:00",
      "opt_in_process": "double_opt_in"
    },
    "relationships": {
      "profiles": {
        "data": [
          {
            "type": "profile",
            "id": "string"
          }
        ],
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      },
      "tags": {
        "data": [
          {
            "type": "tag",
            "id": "string"
          }
        ],
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      },
      "flow-triggers": {
        "data": [
          {
            "type": "flow",
            "id": "string"
          }
        ],
        "links": {
          "self": "https://www.example.com",
          "related": "https://www.example.com"
        }
      }
    },
    "links": {
      "self": "https://www.example.com"
    }
  }
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
