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
}

Remove a course assignment from a specific group.

Path Parameters

courseId
integer
required

The unique identifier of the course

groupId
integer
required

The unique identifier of the group to unassign

Request Headers

X-API-KEY
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

404
object

Returned when either the course or group is not found

curl --request DELETE \
--url https://YOURSITE.konstant.ly/openapi/v1/courses/123/assignments/groups/456 \
--header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{
    // Empty response on success
}