DELETE api/LMS/Enrollments/DeleteByLoginAndCourse?LoginName={LoginName}&CourseCode={CourseCode} LMS All Services
This service deletes an existing active enrollment that is based on the Login Name and Course Code. (Note: It is an “exact” match on both the login name and course code.It does not include inactive or withdrawn enrollments.)
Request Information
Headers
| Fields | Type | M/O/C | Definition |
| AccountLoginName | String(50) | Mandatory | Login name of an account used for logging into Galaxy application to perform the service call |
| AccountPassword | String(50) | Mandatory | Password of an account used for logging into Galaxy application to perform the service call |
| SourceSystemID | String(50) | Mandatory | Name or ID of application or system that initiated the call. |
| DomainID | String(50) | Mandatory | Name or ID of the domain that the call is being made to. (Value will be 1, if the site only has one domain) |
| Accept | String | Optional | Format in which client expects the response: [application/json] (default), [application/xml] |
| ContentType | String | Optional | Format in which client is sending the request: [application/json] (default), [application/xml] |
Parameters
| Name | Description | Additional information | Type |
|---|---|---|---|
| LoginName | max 50 characters |
Define this parameter in the request URI. |
String |
| CourseCode | max 50 characters |
Define this parameter in the request URI. |
String |
Return Type
| Return type | null |