User Attempt Reset
Resets one student attempt at an exercise or quiz, so it no longer counts. Put the attempt ID (`attempt_id` from "Exercise Attempt List") in the URL. A reset attempt stays on record, marked as reset, but no longer counts toward the student's attempt limit or reports, so the student can try again.
/examexercise/attempt/{attemptId}/resetcurl --request POST \
--url 'https://<your-api-host>/nuSource/api/v1/examexercise/attempt/{attemptId}/reset' \
--header 'APIKEY: <your-api-key>' \
--header 'ORGID: <your-org-id>' \
--form 'JSONString={"is_quiz":false}'{
"code": 200,
"message": "Attempt Reset Succesfully !",
"reset_at": 1722410098,
"reset_by": "Edmingle Admin"
}Access: Institute admins and tutors, plus custom roles that can manage submissions. The attempt must belong to a class in your current organization.
Request body: form-data with one field, JSONString, containing this JSON:
JSONStringtrue if the attempt is a quiz attempt, false for an exercise (including assignments). Must be JSON true/false.Notes: Fails with "Not Authorized" if the attempt isn't found in your organization (check is_quiz matches the attempt type). Resetting an already reset attempt just updates the time and user. Rate limit: 30 requests per minute; going over locks you out for 30 minutes.