Lists
Replace list
VerifiedPUT
/api/v1/lists/{id}Full replace — an omitted description is cleared. Always send both fields.
Path Parameters
idstringrequiredResource id (GUID).
Body Parameters
namestringrequireddescriptionstring | nullOmitted = cleared.
Notes
Live 2026-11-02. Body { name, description }. Full replace confirmed: omitting description (or sending null) clears it to null. name is the only REQUIRED field (so 'every field required' in the docs is slightly off), but always send both. createdAt/id are unchanged. Missing name -> ProblemDetails 400; empty name -> { error } envelope 400 ValidationFailed; unknown id -> 404 bare ProblemDetails; wrong body type -> ProblemDetails 400 (UpdateListRequest).
Errors
| Status | Case | Body |
|---|---|---|
| 400 | error | {"error": {"code": "ValidationFailed", "message": "List name is required."}} |
| 400 | errorMissingName | {"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1", "title": "One or more validation errors occurred.", "status": 400, "errors": {"Name": ["The Name field is required."]}, "traceId": "00-7196010123c85f587b6afdcbf1aca829-1e2bd442b7280345-00"} |
| 404 | errorNotFound | {"type": "https://tools.ietf.org/html/rfc9110#section-15.5.5", "title": "Not Found", "status": 404, "traceId": "00-bdc6077aa0fda4fc2e6e919e049efb16-44115a19ede8db33-00"} |
| 400 | errorWrongBodyType | {"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1", "title": "One or more validation errors occurred.", "status": 400, "errors": {"$": ["The JSON value could not be converted to MailchimpClone.Web.Controllers.Api.V1.Lists.UpdateListRequest. Path: $ |
Snippets use the MailCraftApi (C#) and MailCraft (Python) helpers from Introduction → Helpers.