update_batch_webhook
Update the callback URL of an existing batch webhook. Use to redirect Mailchimp's batch completion notifications to a new endpoint.
Instructions
Update the target URL of an existing batch webhook.
Use to point an existing batch webhook at a new callback URL. Use list_batch_webhooks to find batch_webhook_id values and delete_batch_webhook to remove a webhook instead.
Authenticated via API key. Max 10 concurrent requests. Respects read-only and dry-run modes. Returns 404 error if batch_webhook_id is invalid.
Args: batch_webhook_id: The batch webhook ID to update. Obtain from list_batch_webhooks. url: The new callback URL Mailchimp will POST to when a batch completes. account: Optional account name (e.g. 'marketing') configured via MAILCHIMP_API_KEY_. Omit to use the default account. See list_accounts.
Returns: JSON with id, url, enabled (boolean). Returns an error object if the input is rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| account | No | ||
| batch_webhook_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |