DELETE ./conduita/motive/{cmID}
It is used to delete a predefined reason for behavior.
Allowed for: director / secretary / rep_adservio / admin (any reason), or the teacher who created the reason (only their own), when the modulConduita school config flag is active.
URL parameters
| Name | Value Type | Validation | Details |
|---|---|---|---|
| cmID | int | Required | Reason ID. |
Validation
| Error Field | Error Code | Error Message |
|---|---|---|
| cmID | 101 | Invalid cmID. |
| cmID | 103 | Forbidden. |
Output example
{"result": true}
