Send aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Distribuidos-Org/ms-alumnos/llms.txt
Use this file to discover all available pages before exploring further.
remove_alumno message to permanently delete a student record from the database. The controller extracts the id from the payload via ParseIntPipe and passes it to the service, which calls TypeORM’s delete method directly by primary key. If no row is affected (i.e. result.affected === 0), the service throws an RpcException with HTTP status 404. There is no soft-delete — the record is gone immediately.
Message pattern
Request payload
The numeric
alumnoId of the student record to delete. Must be a positive integer.Response
A confirmation string in the format
Alumno #${id} removed successfully (e.g. "Alumno #5 removed successfully").Example
Errors
| Status | Cause |
|---|---|
404 | No alumno exists with the given id. The exception payload is { "status": 404, "message": "Alumno #5 not found" } (where 5 is the requested ID). |
400 | The id field is missing or cannot be parsed as a valid integer by ParseIntPipe. |