PATCH /api/users//activate
Activates a user account, enabling them to access the system. This endpoint requires write privileges or admin role.Authentication
This endpoint requires JWT authentication with one of the following:WRITE_PRIVILEGESauthorityADMINrole
Path Parameters
The unique identifier of the user to activate
Response
This endpoint returns no content on success (HTTP 204).Error Codes
204- User activated successfully (no content returned)401- Unauthorized: Missing or invalid JWT token403- Forbidden: Insufficient permissions404- Not Found: User does not exist
Example Request
Example Success Response
Example Error Response
Notes
- This operation changes the user’s status to
ACTIVO - Once activated, the user will be able to authenticate and access the system
- This action is logged in the audit log with module “USUARIOS” and action “ACTIVAR_USUARIO”