delete http://gooru.org/api/nucleus/v2/classes/
Delete an existing Class by a specified id
Header name | Value |
---|---|
Authorization | Token {{authorization access token}} |
Content-Type | application/json |
Note
The API will delete specific course that does not have any usage data associated with it by the virtue of it being assigned to a class. The delete action will not be actually deleting the content of the course but only disassociating the current user with the course. The course will still exist in Gooru after it is deleted from the user context.
Error Code | Error Description |
---|---|
401 - Unauthorized | Missing Authorization in header |
403 - Forbidden | Requires valid login |
404 - Resource Not found | Class id Not passed or not found. |