delete_questions
Remove one or more questions by ID in a batch operation. Deletes their answers while preserving the parent quiz or question bank; use only after explicit user confirmation.
Instructions
Delete one or more questions. DESTRUCTIVE. This is a BATCH operation.
Pass `question_ids`, a list of obfuscated Skilljar question ids - a list even
for one.
The question's answers go with it. The parent quiz or question bank, and every
other question in it, are UNTOUCHED.
This is also the only way to change a question's answers, since they are
immutable on update: delete and recreate.
Requires `question-banks:write` OR `quizzes:write`, AND the `content.delete`
capability, which is deliberately separate from `content.write` and is off in
every profile except `full`. Take this action only on the user's explicit
instruction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| note | Yes | ||
| total | Yes | ||
| failed | Yes | ||
| succeeded | Yes |