Headless LMS

Rename a module

PATCH /api/courses/{courseId}/modules/{moduleId}. Rename a module. Headless LMS Content API reference.

PATCH
/api/courses/{courseId}/modules/{moduleId}

Path Parameters

courseId*string
moduleId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/api/courses/string/modules/string" \  -H "Content-Type: application/json" \  -d '{    "title": "string"  }'
[  {    "orgId": "string",    "id": "string",    "courseId": "string",    "title": "string",    "seq": 0,    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }]