curl --request DELETE \
--url https://YOURSITE.konstant.ly/openapi/v1/courses/123/assignments/users/1234567890 \
--header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{
// Empty response on success
}
{
"status": 404,
"message": "Not found"
}
Courses
Unassign User from Course
Unassign a specific user from a course
DELETE
/
courses
/
{courseId}
/
assignments
/
users
/
{userId}
curl --request DELETE \
--url https://YOURSITE.konstant.ly/openapi/v1/courses/123/assignments/users/1234567890 \
--header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{
// Empty response on success
}
{
"status": 404,
"message": "Not found"
}
Remove a course assignment from a specific user.
Path Parameters
Request Headers
Response
On successful unassignment, returns an empty response with HTTP status code 200.Error Responses
curl --request DELETE \
--url https://YOURSITE.konstant.ly/openapi/v1/courses/123/assignments/users/1234567890 \
--header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{
// Empty response on success
}
{
"status": 404,
"message": "Not found"
}
Was this page helpful?