DELETE ./teme/solutie
It is used only by the student in order to delete a solution.
Attention! The solutions can be deleted only before the due date of the homework (hwDueDate).
DELETE parameters
| Name | Value Type | Validation | Details |
|---|---|---|---|
| hwsaID | int | Required | Solution Id. |
Validation
| Error Field | Error Code | Error Message |
|---|---|---|
| hwsaID | 101 | Outdated date. Deleting solutions is no longer possible. |
| hwsaID | 102 | The solution has been corrected. Deletion is no longer possible. |
Output example
{"result": true,}
