PATCH/api/v1/projects/{project_id}/lists/{list_id}
Needs scope: writeMCP tool: update_list
operationId update_list
Update a list
Renames the list and changes the options the body names; the rest keep
their values. A deleted list takes no change. Needs scope write.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
project_idrequired |
path | string · uuid | The project’s id |
list_idrequired |
path | string · uuid | The list’s id |
Request body
application/json · required
- UpdateListRequest object
-
confirmation_template_idstring · uuid | nullThe template of the confirmation letter, a message template of the project;
nullclears it (not whiledouble_opt_inis on). -
double_opt_inbooleanTurn double opt-in on (needs a
confirmation_template_id, the list’s or this one) or off. -
from_overrideFromOverrideInput | nullThe sender of the list’s own letters, replaced as a whole;
null: the project’s.2 fields
- FromOverrideInput object
-
from_emailstring · emailrequiredThe sender address.
example
news@acme.example -
from_namestring | nullThe sender name, 1 to 128 characters, no line breaks;
nullor left out: the project’ssettings.from_name.example
Acme News
-
namestringThe new name.
example
Monthly news
Responses
200
The list after the update
- List object · all fields required
-
confirmation_template_idstring · uuid | nullThe template of the confirmation letter;
null: none. -
created_atstring · date-time -
deleted_atstring · date-time | nullWhen the list was deleted;
nullwhile it is live. A deleted list can only be read. -
double_opt_inbooleanSubscribers confirm by a link before they get campaigns.
-
from_overrideFromOverride | nullThe sender of the list’s own letters;
null: the project’s.2 fields
- FromOverride object · all fields required
-
from_emailstring · email -
from_namestring | nullnull: the project’ssettings.from_name.
-
idstring · uuidexample
01900000-0000-7000-8000-000000000001 -
namestringexample
Weekly news -
project_idstring · uuidThe list’s project.
-
updated_atstring · date-timeThe latest change: creation, name, options, deletion.
404
No such project or list in it, or another project’s (not_found)
429
The key is over its rate limit, api.rate_limit_per_minute requests a minute on this node (rate_limited)
| Header | Type | Description |
|---|---|---|
Retry-After | integer | Seconds until the key’s next request passes; rounded up. |
504
Postwind’s storage did not answer within its time limit (storage_timeout). A change the request makes may still take effect: check before repeating it. A repeat with the same Idempotency-Key never runs it twice: it is 409 idempotency_key_in_progress until the key’s 24 h end