Im changing my wazuh api password by api
and it works
curl -u "wazuh:newpassword" -k -X POST "
https://192.168.16.106:55000/security/user/authenticate?raw=true"
eyJhbGciOiJFUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ3YXp1aCIsImF1ZCI6IldhenVoIEFQSSBSRVNUIiwibmJmIjoxNzcwMTI2NzIyLCJleHAiOjE3NzAxMjc2MjIsInN1YiI6IndhenVoIiwicnVuX2FzIjpmYWxzZSwicmJhY19yb2xlcyI6WzFdLCJyYmFjX21vZGUiOiJ3aGl0ZSJ9.AagfQvc_tisps9JqRQdjAFGVBduVN_wNf0Y02VBwLsCFAhRlwazfEsXJB6an0_N56JKSP_fswN0C_zW_UUeBnZDdAYFq3t2jdS3FdGe8CCbq8bHwk_vWtYA7Eq4kD23-lAoAZJD-bKMCeiXKjXitFFdlxge-
but when I restart the manager
docker restart c3
c3
the password is getting incorret and then i need to update again
{"title": "Unauthorized", "detail": "Invalid credentials"}