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.
POST
https://example.thoughtindustries.com/incoming/v2/users/:id/resetLearningPathProgressExample 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
| Name | Type | Required | Location | Description |
|---|---|---|---|---|
id | string | Yes | path | The id identifier. |
userId | uuid | Yes | body | The unique identifier of the user whose learning path progress will be reset. |
slug | string | Yes | body | The URL slug that identifies the learning path to reset. |
resetProgress | boolean | No | body | When true, clears all progress the user has made on the learning path. |
revokeAccess | boolean | Yes | body | When true, removes the user's access to the learning path after the reset. |
eraseTranscript | boolean | No | body | When true, removes the learning path activity from the user's transcript. |
Example response
{
"data": {
"ResetUserLearningPathProgress": true
}
}