DELETE group/…/drills/…

Removes a drill from a group. This makes the drill no longer available to the members of the group, unless the drill is also available to the member through another group.

A drill cannot be removed from a group if it is part of one of the group's learning objectives or tests.

Resource URL

https://www.drillster.com/api/2/group/{group_id}/drills/{drill_id}

Parameters

Field Description
group_id
required
The unique ID of the group.
drill_id
required
Identifies the drill (or course) to be removed from the user's repertoire.

Example value: eSxMA4MISaCjJA43PgMEnQ

Response

A message stating that the drill has been removed from the group.

Example request

DELETE https://www.drillster.com/api/2/group/nYrK9udUc-UGvRS2kxaPtaB-0wzeHAJzM6vlL1te6wI/drills/VBs6MbY41n6fkxAPG0yElw

Response

{
  "description": "The drill has been removed from the group."
}

Error responses

The following error situations are possible:

ID Description
group_not_found Could not retrieve group details.
drill_code_missing No drill specified.
no_group_access You are not allowed to remove drills from this group.
drill_not_in_group Drill {drill_id} is not part of group {group_id}.
drill_in_group_learning_objective Drill/Course {drill_id} is part of one of the group's learning objectives.
drill_in_group_test Drill/Course {drill_id} is part of one of the group's tests.