Skip to content

Endpoint

  • Method: PUT
  • Path: /admin/courses/{course_id}/sections/{section_id}
  • Edition: Core
  • Controller: CourseAdminController@updateSection
  • Route source: fluent-community/Modules/Course/Http/course_api.php:41
  • Controller source: fluent-community/Modules/Course/Http/Controllers/CourseAdminController.php

PUT Update Course Section

PUT
/admin/courses/{course_id}/sections/{section_id}

Update Course Section for the FluentCommunity Courses API.

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

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

Section ID extracted from the URL path.

Type
integer
Required

Request Body

application/json
JSON
{
  
"title": "string",
  
"status": "string"
}

Responses

Successful response

application/json
JSON
{
  
"message": "string",
  
"topic": {
  
  
"id": 0
  
}
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation