The DeleteClass API deletes a class based on the Id provided.
Id of the class.
{ "success": true, "message": "Record deleted successfully.", "data": 213122 }