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

Reset Learning Path Progress

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

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

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

Example request

curl -X POST "https://example.thoughtindustries.com/incoming/v2/users/:id/resetLearningPathProgress" \
  -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.
userIduuidYesbodyThe unique identifier of the user whose learning path progress will be reset.
slugstringYesbodyThe URL slug that identifies the learning path to reset.
resetProgressbooleanNobodyWhen true, clears all progress the user has made on the learning path.
revokeAccessbooleanYesbodyWhen true, removes the user's access to the learning path after the reset.
eraseTranscriptbooleanNobodyWhen true, removes the learning path activity from the user's transcript.

Example response

{
  "data": {
    "ResetUserLearningPathProgress": true
  }
}