Trigger ldap sync

Description

I’m writing a python script with REST API calls to make some settings for new ldap users. However i didn’t find another way to trigger the ldap sync except by clicking on it in the admin ldap panel.

Does anyone know a way to trigger the ldap sync?

Server Setup Information

  • Version of Rocket.Chat Server: 1.0.3
  • Operating System: Debian 8
  • LDAP: OpenLDAP 2.4.40