Disable exemplars for prometheus dashboards

Hello all, Is there an easy way to disable exemplars globally rather than per query panel ? Also is it possible to disable thru grafonnet API ?