User Teaching Material View Reset
Resets one recorded view of a teaching material, so it no longer counts against the material's view limit. Use it when a learner has used up their allowed views (`max_views`) and you want to give one back. Get the view `id` from "Get User Teaching Material Views".
/materials/view/{id}/resetcurl --request POST \
--url 'https://<your-api-host>/nuSource/api/v1/materials/view/{id}/reset' \
--header 'APIKEY: <your-api-key>' \
--header 'ORGID: <your-org-id>'{
"code": 200,
"message": "View Reset Succesfully !",
"reset_at": 1741158972,
"reset_by": " Gauravedupanion Kapoor "
}Access: Institute admins and tutors, plus custom roles that can manage learners.
viewsInfo[].id in "Get User Teaching Material Views".No request body is needed.
Notes: The view stays in the history with is_material_view_reset set to 1. Because the learner's next view counts as a first view again, it can trigger course-progress updates (and the progress webhook) once more. Fails with "Not Authorized" if the view belongs to a material outside your institute. Tutors can reset views on any material in the institute, not only their own courses. Rate limit: 30 requests per 1 minute; going over locks you out for 30 minutes.