PATCH mailinglists Id

PATCH
/mailinglists/{id}

Authorization

Bearer
headerAuthorizationBearer <token>

Paste your JWT token here

Path Parameters

id*integer

The curation record's identifier.

Formatint32

Request Body

The DTO containing the new visibility.

application/json
  1. body

Defines the DTO for changing a curated mailing list's visibility.

visibility*MailinglistVisibility

Controls where a curated mailing list is shown to members. General lists appear everywhere (registration, account settings, the yearly renewal page); YearlyRenewalOnly lists appear only on the yearly study-renewal page, alongside the General lists.

Formatint32
Value in"General""YearlyRenewalOnly"

Response Body

No Content

curl -X PATCH 'https://example.com/mailinglists/0' \  -H 'Content-Type: application/json' \  -d '{  "visibility": "General"}'
Empty