DELETE restapi/personal/courses/{courseId}/groups/v1

Remove course groups with specified identifiers.

The user needs course-admin rights in the course to be authorized.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
courseId

Identifier of a course.

integer

Required

Body Parameters

Object containing Ids of course groups to be removed.

Itslearning.RestApi.Entities.CourseGroups.CourseGroupsToRemove
NameDescriptionTypeAdditional information
GroupIds

Course groups identifiers of course groups to be removed.

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "GroupIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<CourseGroupsToRemove xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <GroupIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </GroupIds>
</CourseGroupsToRemove>

application/x-www-form-urlencoded

Sample:
No sample available

Response Information

Resource Description

None.