Cancel a course class
Important Notice
- Classes without any enrollment are deleted immediately after being cancelled.
- Classes with enrollments are deleted minimum after 1 hour after they being cancelled.
Resource URL
URL: v1/courses/get/{externalCourseId}/courseClasses/delete/{externalCourseClassId}
Request Method
POST | GET |
Parameters
string username | Username |
string password | Password |
string externalCourseId path variable | Course provider's ID for the course |
string externalCourseClassId path variable required | The course provider's ID for the course class (in their booking system) |
Return value
Returns a status message
successful | true/false | ||
errorMessage | In case of error, an error message |
Example request
URL | |
POST DATA | username=username&password=secret |
{ "sucessful" : true , "errorMessage" : "" } |