Skip to content

Clears the current user own completion records for a course and returns an empty progress track, leaving the enrolment in place.

Endpoint

  • Method: DELETE

  • Path: /courses/{course_id}/progress

  • Edition: Core

  • Controller: CourseController@resetMyProgress

  • Route source: fluent-community/Modules/Course/Http/course_api.php:17

  • Controller source: fluent-community/Modules/Course/Http/Controllers/CourseController.php

  • Requires the caller to be enrolled in a published course.

  • Destructive: every completed-lesson record for this user in this course is removed and cannot be restored.

Live sample

The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.

DELETE Delete Reset My Progress

DELETE
/courses/{course_id}/progress

Clears the current user own completion records for a course and returns an empty progress track, leaving the enrolment in place.

Controller: CourseController@resetMyProgress
Route source: fluent-community/Modules/Course/Http/course_api.php:17

Authorizations

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Parameters

Path Parameters

course_id*

Course ID extracted from the URL path.

Type
integer
Required

Responses

Successful response

application/json
JSON
{
  
"message": "string",
  
"track": {
  
  
"completed_lessons": [
  
  
  
{
  
  
  
  
"additionalProperties": "string"
  
  
  
}
  
  
],
  
  
"isEnrolled": true,
  
  
"progress": 0
  
}
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation