/api/modulo/:id
Updates the strNombreModulo field of an existing module. The new name is automatically converted to uppercase before being stored.
Path parameters
number
required
Primary key of the module to update.
Request body
string
required
Updated module name. Stored in uppercase regardless of the casing supplied.
Response
boolean
required
true when the update completes without error.object
required
The updated module record as returned by the database.
Error responses
Validation and database errors for this endpoint return HTTP
200 with success: false in the body rather than a 4xx/5xx HTTP status code. The handler does not return a 404 if the id does not match any record — it returns success: true with data set to undefined.Examples
Success response
200
Error response (missing name)
200