Using the occ command to change LDAP Agent name

I’m using the OCC command to change the LDAP agent name, but it is not changing, still the same config as before. No errors when running the command but the agent name is not changing:

sudo -u www-data php /var/www/nextcloud/occ ldap:set-config s01 ldapagentname “USERNAME”

Any ideas what I’m doing wrong?