Skip to content

Clears one student completion records for the course while leaving them enrolled.

Endpoint

  • Method: DELETE

  • Path: /admin/courses/{course_id}/students/{student_id}/progress

  • Edition: Core

  • Controller: CourseAdminController@resetStudentProgress

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

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

  • Requires a course admin for this course, or a WordPress user with manage_options.

  • Destructive: the completion history 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 Student Progress

DELETE
/admin/courses/{course_id}/students/{student_id}/progress

Clears one student completion records for the course while leaving them enrolled.

Controller: CourseAdminController@resetStudentProgress
Route source: fluent-community/Modules/Course/Http/course_api.php:32

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
student_id*

Student ID extracted from the URL path.

Type
integer
Required

Responses

Successful response

application/json
JSON
{
  
"message": "string"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation