questionBank_deleteItem
Deletes one item from a question bank; does not affect the rest of the bank. If the item was never published, it is gone immediately and for good. If it WAS published, it instead only disappears from the draft - questionBank_getItems stops listing it right away, but a QuestionBank block on a live Riddle keeps drawing it from its last published content, exactly as if nothing happened, until the next questionBank_publish actually purges it. questionBank_discardChanges before that publish undoes the delete entirely, restoring the item to questionBank_getItems. "hasChanges" in the response says whether the bank now has unpublished changes to publish - true for a published item's pending delete. Rejected for a public template id, see questionBank_templateList.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| questionBankId | Yes | The ID of the question bank the item belongs to. | |
| questionBankItemId | Yes | The ID of the item to delete. |