I have found the answer in another forum thread: Upate superuser password - #8 by dfunckt
Edit
'./config/activate'and change theOPENBALENA_SUPERUSER_PASSWORDvariable to the new password. Then recreate the API container with:./scripts/compose kill api ./scripts/compose rm -vf api ./scripts/compose up -d api