Updates the profile assignment, active status, and optionally the profile image for an existing user. The caller must hold the usuario.editar permission.
Requires a valid Bearer token with the usuario.editar permission.
Authorization: Bearer <token>
A 403 Forbidden response means the token is valid but the caller’s profile does not include the usuario.editar permission. Contact an administrator to update the profile’s permissions.
Optional Base64-encoded profile image in the format data:image/...;base64,.... The decoded image must not exceed 2 MB. If provided, the image is uploaded to Cloudinary and the resulting URL replaces the current value. If omitted, the existing image is left unchanged.Supported MIME types:image/png, image/jpeg, image/gif, image/webp.
To remove a user’s image, pass an empty string or handle image removal through a dedicated endpoint if available. Omitting Imagen entirely preserves the current image.