delete_question
Remove a question or page break from a form by specifying its code and form ID. Supports deleting the last item, leaving an empty shell.
Instructions
Delete a single question or a page break (Breaker) from a form by code. Deleting the last one is allowed (a form can be an empty shell).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code of the question to delete | |
| formId | Yes | The form ID the question belongs to |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formId | No | The form that was edited | |
| deletedCode | No | The question code that was removed | |
| remainingCount | No | Question / page-break count left in the form |