MCPcopy Create free account
hub / github.com/codecombat/codecombat / removeMember

Function removeMember

app/core/api/classrooms.js:133–138  ·  view source on GitHub ↗
({ classroomID, userId }, options)

Source from the content-addressed store, hash-verified

131 },
132
133 removeMember ({ classroomID, userId }, options) {
134 if (options == null) { options = {} }
135 return fetchJson(`/db/classroom/${classroomID}/members/${userId}`, _.assign({}, options, {
136 method: 'DELETE'
137 }))
138 },
139
140 // updates = { archived: '', name: ''}
141 update ({ classroomID, updates }, options) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected