There are many ways to accomplish this. I, personally, integrate my SSIDs with Microsoft Network Policy Server (RADIUS).
https://documentation.meraki.com/MR/Encryption_and_Authentication/Configuring_RADIUS_Authentication_...
However, the way you authenticate your end devices would determine the best path to accomplishing what your are looking for. What sort of authentication are your using (WPA2- Enterprise, WPA2-PSK, Meraki Authentication)?