Remove a user from a learning path
Endpoint URL
DELETE /api/v2/learning-paths/enrollments
Remove user from learning path
Removes a user's enrollment from a specific learning path. To successfully unenroll a user, provide the user's unique ID using the user_id attribute and the learning path's unique ID using the learning_path_id attribute in the request body. If the request is valid and the enrollment exists, the API deletes the enrollment and removes the user's access to the learning path.