delete_question_banks
Deletes one or more question banks, along with their questions and answers, and unbinds any quizzes that reference them while preserving the quizzes themselves.
Instructions
Delete one or more question banks. DESTRUCTIVE. This is a BATCH operation.
Pass `question_bank_ids`, a list of obfuscated Skilljar bank ids.
What happens, and what does NOT:
deleted the bank, its questions, and those questions' answers
removed every assignment referencing it - so any quiz using this bank is
silently UNBOUND from it and loses those questions
UNTOUCHED the quizzes themselves, which stay alive
A quiz that drew its items from this bank will still exist and still be
deliverable, with fewer questions. Say so before doing it.
Requires `question-banks:write` AND the `content.delete` capability, which is
off in every profile except `full`. Take this action only on the user's explicit
instruction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| question_bank_ids | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| note | Yes | ||
| total | Yes | ||
| failed | Yes | ||
| succeeded | Yes |