Quizzes
A: Update quiz
AuthorizationBearer <token>
In: header
Path Parameters
quiz_idstring
The quiz id identifier
Format
uuidallow_pauseboolean
Default
falseavailable_untilstring
Default
"2025-01-31T23:59:59Z"certificate_enabledboolean
Default
truecompletion_messagestring
Default
"Great job! You've completed the advanced Machine Learning assessment."descriptionstring
Default
"Updated description for advanced concepts"difficulty_levelstring
Default
"advanced"max_attemptsinteger
Default
2max_participantsinteger
Default
50passing_scoreinteger
Default
80passwordstring
Default
"ml2024quiz"password_protectedboolean
Default
truequiz_typestring
Default
"assessment"retake_policystring
Default
"instructor_approval"show_answer_afterboolean
Default
falseshow_results_immediatelyboolean
Default
trueshuffle_questionsboolean
Default
falsethumbnailstring
Default
"https://example.com/updated-quiz-thumbnail.jpg"Format
uritime_limitinteger
Default
90titlestring
Default
"Advanced Machine Learning Quiz"Response Body
curl -X PUT "https://edushade.com/api/v1/admin/quizzes/497f6eca-6276-4993-bfeb-53cbbbba6f08" \
-H "Content-Type: application/json" \
-d '{
"allow_pause": false,
"available_until": "2025-01-31T23:59:59Z",
"certificate_enabled": true,
"completion_message": "Great job! You\'ve completed the advanced Machine Learning assessment.",
"description": "Updated description for advanced concepts",
"difficulty_level": "advanced",
"max_attempts": 2,
"max_participants": 50,
"passing_score": 80,
"password": "ml2024quiz",
"password_protected": true,
"quiz_type": "assessment",
"retake_policy": "instructor_approval",
"show_answer_after": false,
"show_results_immediately": true,
"shuffle_questions": false,
"thumbnail": "https://example.com/updated-quiz-thumbnail.jpg",
"time_limit": 90,
"title": "Advanced Machine Learning Quiz"
}'{}Empty
Empty
Empty