Courses
Unenroll from course
Removes the authenticated user's enrollment from a course.
ProductionStagingUAT
DELETEhttps://math.ankiren.com/api/me/courses/{courseId}/enroll
Parameters
Path Parameters
- courseIdintegerpathRequired
Responses
200 · Unenrolled successfully
- successboolean
application/json
{ "success": true }
Sample Code
Đổi ngôn ngữ ở ô Language trên thanh Documentation.
cURL
curl -X DELETE 'https://math.ankiren.com/api/me/courses/{courseId}/enroll' \
-H 'Authorization: Bearer <token>' \
-H 'Accept: application/json'