Update Quiz#
Updates quiz fields and questions. Same passing-score rules as Create Quiz. delete_questions and delete_options are raw integer ids. existing_questions is keyed by question id. New questions use questions like create. Requires manage-knowledge-hub-quizzes.
Bearer token in the format: Bearer {access_token}
Base64 id from the matching list or builder. A raw numeric id is also accepted.
Title. Max 255 characters
enabled, hidden, or locked
Optional description
published or draft. Defaults to the current status
When true, passing_score uses passing_grade
0–100. Default 70 when required
Shown on pass
Shown on fail
Raw question ids to delete
Raw option ids to delete
Keyed by question id. Each: text, options keyed by option id (text), new_options, type, correct_answer / correct_answers
New questions (same shape as Create Quiz)
Optional replacement thumbnail
curl --request PUT \
--url https://app.rizzdial.com/api/knowledge-hub/quizzes/update/MQ== \
--header 'Authorization: Bearer {{bearer_token}}' \
--form 'title=Week 1 check' \
--form 'comment_status=enabled' \
--form 'status=published'Quiz updated successfully.
Quiz with base64 id and questions.options
POST /api/knowledge-hub/quizzes/update/{id} is the same endpoint.