Delete learning path unit
Method
| Method |
Description |
| learningpath.unitDelete |
Remove an assessment or a course from a learning path. |
Request parameters
{
"learning_path_id": {LearningPathId},
"exam_id": {ExamId},
"course_id": {CourseId}
}
Response parameters
{
"completed": {Completed}
}
Please provide exactly one of exam_id or course_id. The unit is removed together with its unit level publish settings within this learning path. The assessment or course itself is not deleted, and the remaining units keep their relative order.
| Variable |
Type |
Appearance |
Description |
| {LearningPathId} |
Integer |
Mandatory |
Learning path id. |
| {ExamId} |
Integer |
Optional |
Assessment id. Provide this OR {CourseId}, not both. |
| {CourseId} |
Integer |
Optional |
Course id. Provide this OR {ExamId}, not both. |
| {Completed} |
Boolean |
Mandatory |
Indicates whether action was successfully completed or not. |