[ARCHIVED] How to assign a quiz to a single student?

taras8055
Community Novice

Hello,

I am trying to personalize quizzes by assigning them to individual students (groups of students).

I tried

curl 'https://canvas.instructure.com/courses/123/quizzes/456/overrides.json' \
-X POST \
-F 'assignment_override[student_ids][]=789' \
-F 'assignment_override[title]=New Overridden Title' \
-H "Authorization: Bearer <TOKEN>"

But I receive a page saying:
There was a problem with your last request.  You may have tried to perform an action after a long period of inactivity.  If that&#39;s the case, try going back, reloading the page you were working on, and resubmitting.  If not, please let us know what you were doing when the error happened.

I also tried replacing token quizzes in the URL with assignments, but nothing changed.

My token is valid and I can perform other actions by API.

What is the correct way to assign a quiz to a single student?

Labels (2)