Skip to main content
https://.thoughtindustries.com

Reset Course Status

Resets a user's progress on a specified course, with options to revoke access and erase transcript data

Resets a user's progress on a specified course, with options to revoke access and erase transcript data.

POSThttps://example.thoughtindustries.com/incoming/v2/users/:id/resetProgress

Example request

curl -X POST "https://example.thoughtindustries.com/incoming/v2/users/:id/resetProgress" \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "userId": "00000000-0000-0000-0000-000000000000",
  "slug": "string",
  "resetProgress": true,
  "revokeAccess": true
}'

Parameters

NameTypeRequiredLocationDescription
idstringYespathThe id identifier.
userIduuidNobodyUUID of the user whose course progress will be reset.
slugstringYesbodyURL slug identifying the course to reset.
resetProgressbooleanNobodyWhen true, clears all progress data recorded for the user on this course.
revokeAccessbooleanYesbodyWhen true, removes the user's access to the course after the reset.
eraseTranscriptbooleanNobodyWhen true, removes the course completion record from the user's transcript.

Example response

{
  "data": {
    "ResetUserCourseProgress": true
  }
}