Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Mailing List > Subscribers → Update Subscriber Parameters/details

AI-generated

Summary

Update subscriber parameters in a mailing list

Inputs

  • authentication — Authentication method (OAuth2 or API Key)
  • path_mail_hosting_id (required) — Mail Hosting Id
  • path_mailing_list_name (required) — Mailing List Name
  • body_email (required) — The email that identifies the subscriber.
  • bodyParameters — Additional parameters for the subscriber.
  • returnFullResponse — Whether to return the full response body.

Output shape

JSON object representing the updated subscriber

If returnFullResponse is false only a success indicator is returned; otherwise the full updated subscriber object is provided.

Examples

Example 1: Update a subscriber's email in a specific mailing list

{"authentication":"OAuth2","path_mail_hosting_id":"12345","path_mailing_list_name":"Newsletter","body_email":"old@example.com","bodyParameters":{"body_new_email":"new@example.com"},"returnFullResponse":false}

Links

Discussion