curl --request DELETE \
--url https://api.alpha-1edtech.ai/edubridge/enrollments/unenroll/{userId}/{courseId}/{schoolId} \
--header 'Authorization: Bearer <token>'{
"data": "<unknown>"
}Unenrolls a user from a course with a single API call.
This endpoint automatically handles finding the appropriate class enrollment(s) for the course and marking them as ‘tobedeleted’.
Consumers don’t need to know which specific class the user is enrolled in or manage the enrollment status transitions required by OneRoster.
curl --request DELETE \
--url https://api.alpha-1edtech.ai/edubridge/enrollments/unenroll/{userId}/{courseId}/{schoolId} \
--header 'Authorization: Bearer <token>'{
"data": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.
The unique identifier for the user
The unique identifier for the course
The unique identifier for the school
Successful response