Course
Delete Module
Permanently delete a module and all its chapters, QnA, assignments, and assignment submissions. Course progress is recalculated automatically.
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
moduleId*string
Module object id
Header Parameters
x-whitelabel-host*string
Host name of the dashboard, ex: mydomain.tagmango.com
Response Body
application/json
application/json
application/json
curl -X DELETE "https://api-prod-new.tagmango.com/api/v1/external/modules/66c4964c11e7fef26751f3a7" \ -H "x-whitelabel-host: string"Empty
{
"code": 400,
"type": "Bad request",
"statusMessage": "BAD_REQUEST",
"message": "Invalid request",
"success": false
}{
"code": 401,
"type": "Unauthorized",
"statusMessage": "UNAUTHORIZED",
"message": "Invalid token",
"success": false
}{
"code": 404,
"type": "Not Found",
"statusMessage": "NOT_FOUND",
"errorCode": "MODULE_NOT_FOUND",
"message": "The module does not exist or does not belong to this creator.",
"result": "The module does not exist or does not belong to this creator.",
"success": false
}Update Module PATCH
Update fields of an existing module. Only provided fields are updated; omitted fields are left unchanged.
Create Chapter POST
Create a new chapter inside an existing module. - When `content` and `contentType` are supplied, content processing (video transcoding / image compression) runs transparently. - Chapter `name` and `description` are required. - Course progress is recalculated automatically after each chapter creation.