Authentication
This endpoint requires authentication and admin role access.URL Parameters
id(integer, required): The persona ID to update
Request Body
Send any persona fields you want to update. All fields are optional. Common fields include:dni(string): Document identification numbernombre(string): First nameapellido(string): Last name- Additional personal information fields
Response
Returns the updated persona object with a success message:Profile Updates
Staff members (admin and asistente roles) can update their own persona information using thePUT /api/personas/me endpoint, which automatically determines the persona to update based on the authenticated user.
Related Endpoints
PUT /api/personas/me- Update your own profile (admin/asistente)PUT /api/personas/:id/foto- Update profile photo (admin/asistente)