DELETE api/users/user/{userId}/removeCourse?courseSubject={courseSubject}
Remove a user from a course.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId |
User ID. |
integer |
Required |
courseSubject |
Course Subject. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
GenericResponseMessageName | Description | Type | Additional information |
---|---|---|---|
HttpStatusCode | HttpStatusCode |
None. |
|
HttpStatus | string |
None. |
|
Status | string |
None. |
|
Description | string |
None. |
|
Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "HttpStatusCode": 100, "HttpStatus": "Continue", "Status": "sample string 1", "Description": "sample string 2", "Data": "sample string 3" }
application/xml, text/xml
Sample:
<GenericResponseMessage xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <HttpStatusCode>Continue</HttpStatusCode> <Status>sample string 1</Status> <Description>sample string 2</Description> <Data>sample string 3</Data> </GenericResponseMessage>