curl --request DELETE \
--url https://YOURSITE.konstant.ly/openapi/v1/courses/123/assignments/groups/456 \
--header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{
// Empty response on success
}
{
"status": 404,
"message": "Not found"
}
Courses
Unassign Group from Course
Unassign a specific group from a course
DELETE
/
courses
/
{courseId}
/
assignments
/
groups
/
{groupId}
curl --request DELETE \
--url https://YOURSITE.konstant.ly/openapi/v1/courses/123/assignments/groups/456 \
--header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{
// Empty response on success
}
{
"status": 404,
"message": "Not found"
}
Remove a course assignment from a specific group.
Path Parameters
integer
required
The unique identifier of the course
integer
required
The unique identifier of the group to unassign
Request Headers
string
required
API Key. Go to your Konstantly site > Settings > API and copy the value from there.
Response
On successful unassignment, returns an empty response with HTTP status code 200.Error Responses
object
curl --request DELETE \
--url https://YOURSITE.konstant.ly/openapi/v1/courses/123/assignments/groups/456 \
--header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{
// Empty response on success
}
{
"status": 404,
"message": "Not found"
}
Was this page helpful?