API method GET /v1/ds has been removed and it's impossible to configure LDAP server now: https://github.com/puppetlabs/puppetlabs-peadm/blob/main/tasks/pe_ldap_config.rb#L34