PATCH mailinglists Id
PATCH
/mailinglists/{id}AuthorizationBearer <token>
Paste your JWT token here
In: header
Path Parameters
idinteger
The curation record's identifier.
Format
int32The DTO containing the new visibility.
visibilitystring
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.
Format
int32Value in
"General" | "YearlyRenewalOnly"Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://loading/mailinglists/0" \ -H "Content-Type: application/json" \ -d '{ "visibility": "General" }'Empty
{
"message": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"message": "string"
}