unpublish_survey
Take a live survey offline by unpublishing it. Requires the audience list ID and survey ID.
Instructions
Unpublish a survey that is currently live, taking it offline.
Use list_surveys to find the survey_id and confirm it is published. Use publish_survey to put it back live.
Authenticated via API key. Max 10 concurrent requests. Respects read-only and dry-run modes.
Args: list_id: Audience/list ID (from list_audiences). survey_id: Survey ID (from list_surveys). account: Optional account name (e.g. 'marketing') configured via MAILCHIMP_API_KEY_. Omit to use the default account. See list_accounts.
Returns: JSON with status 'unpublished' and the survey_id, or an error object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| list_id | Yes | ||
| survey_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |