unpublish_survey
Unpublish a currently live survey, taking it offline. Requires 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.
Args: list_id: Audience/list ID (from list_audiences). survey_id: Survey ID (from list_surveys).
Returns: JSON with status 'unpublished' and the survey_id, or an error object.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"list_id": "<list_id>",
"survey_id": "<survey_id>"
},
"name": "unpublish_survey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| list_id | Yes | ||
| survey_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |