Course
Delete Course
Permanently delete a course and all its modules, chapters, QnA, assignments, and assignment submissions. This operation is irreversible.
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
courseId*string
Course 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/courses/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": "COURSE_NOT_FOUND",
"message": "The course does not exist, is deleted, or does not belong to this creator.",
"result": "The course does not exist, is deleted, or does not belong to this creator.",
"success": false
}Update Course PATCH
Update fields of an existing course. Only provided fields are updated; omitted fields are left unchanged. Toggling `settings.enableDRM` cascades to all video chapters, re-flagging their transcoding state.
Create Module POST
Create a new module (section) inside an existing course with required name, description, and cover image.