Optionally, you can define SSID groups. An SSID group has SSIDs as members and can be specified just like an SSID in a FortiAP Profile.
To create an SSID group - GUI
Go to WiFi and Switch Controller > SSIDs and select Create New > SSID Group. Give the group a Name and choose Members (SSIDs, but not SSID groups).
To create an SSID group - CLI:
config wireless-controller vap-group
set vaps "ssid1" "ssid2"