DELETE - /api/v1/courses/:course_id/lectures/:id - Deleting
DELETE /api/v1/courses/:course_id/lectures/:id
Parameters
| Name |
Description |
|
id
|
id
|
|
course_id
|
course id
|
|
name
|
Lecture section Name
|
|
is_published
|
publically viewable?
|
|
attachments_attributes
|
attachments attributes
|
|
id
|
id
|
Request
Headers
Route
DELETE /api/v1/courses/259/lectures/68
Body
{}
cURL
curl "http://localhost:3000/api/v1/courses/259/lectures/68" -d '{}' -X DELETE \
-H "Accept: application/json" \
-H "X-Api-Token: yoSgGdzNcZunyVZwseMQY6BZJzsx4PqbNA" \
-H "X-Api-Email: user-592@example.com" \
-H "Content-Type: application/json" \
-H "Host: school.worksonmy.computer"
Response
Status
204 No Content