Remove a training assignment
DELETE
/v1/training/courses/{courseId}/assignments/{groupId}
const url = 'https://api.varman.io/v1/training/courses/example/assignments/example';const options = {method: 'DELETE', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.varman.io/v1/training/courses/example/assignments/example \ --header 'X-API-Key: <X-API-Key>'Removes a course assignment from a group. When a course has no assignments left, everyone who took it before groups existed must take it again.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”courseId
required
string
Course id, e.g. sat-1
groupId
required
string
Group id (grp_…)
Responses
Section titled “Responses”Removal result