Update list
PATCH/api/v1/lists/{id}
Name, description and sign-up mode.
Scope
lists:writeEdit lists – the person behind the key must be editor or higher.
Path parameters
idstringrequired- The list's ID.
Body
JSON, Content-Type: application/json. Unknown fields return 422.
namestring- at least 1 characters · at most 200 characters
descriptionstring | null- at most 1000 characters
double_opt_inboolean- New sign-ups must confirm by email. Default: true.
Response
200 The list after the change.
idstringrequirednamestringrequireddescriptionstring | nullrequireddouble_opt_inbooleanrequired- New sign-ups must confirm by email before they are added.
form_enabledbooleanrequired- The list's public sign-up form is open.
countsobjectrequired- Only the contacts that the person behind the key may see.
counts.subscribedintegerrequired- Receive mailings: on the list, active and not suppressed.
counts.pendingintegerrequired- Has signed up but not confirmed yet.
counts.unsubscribedintegerrequiredcounts.blockedintegerrequired- On the list but not reachable: they bounce, have made a spam complaint or are suppressed.
created_atstring (time, ISO 8601)required- When the list was created.
Errors
- 400
- bad_request
- 404
- not_found
- 429
- rate_limited