Tool
support_survey_unpublish
Return a published survey to draft so it can be edited.
Return a published survey to draft so it can be edited. It stops accepting responses immediately; the responses already collected are untouched. A survey that is not published is refused
Behavior
- HTTP
POST /support/surveys/:id/unpublish
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | • | Survey id |
Response
| Field | Type | Always | Description |
|---|---|---|---|
| id | string | • | Survey id |
| name | string | • | What this survey is called |
| status | string | • | draft: editable, not answerable. published: answerable, frozen. archived: terminal, neither editable nor answerable, and there is no way back |
| createdAt | string | • | ISO-8601 creation timestamp |
| questions | array | • | The ordered question set, exactly as stored |
| updatedAt | string | • | ISO-8601 last-modification timestamp |
Try it
Return a published survey to draft so it can be edited.