How to configure LDAP authentication to the Grafana website [I'm not talking about login]

The server sites must have LDAP authentication restriction, in the sites managed by Apache, in .htaccess, there are LDAP settings, how do I do the same in Grafana?

I managed to release access to the grafana website, via LDAP authentication. However, for Grafana to access Zabbix, in the .htaccess contained in /var/www/html/zabbix/, I had to leave the following configuration so that this file does not pass through the authentication restriction:

<Files "api_jsonrpc.php">  
  Require all granted
</Files>

I had to do this because the authentication methods for the zabbix data source, Basic auth nor With Credentials, were not able to resolve it.

I wanted to find a solution to not allow access to this Zabbix API file.