GET /admin/realms/{realm}/testLDAPConnection?action=…&connectionUrl=…&bindDn=…&bindCredential=…
RealmAdminResource.testLDAPConnection({'action': …, 'connectionUrl': …, 'bindDn': …, 'bindCredential': …, 'realm': /* name realm name (not id!) */});