CheckMk api edit_user "Value None is not allowed here"

The API call edit_users does not work for non-local accounts (i.e. LDAP users).