Using the GAIA API you can manage licenses on/from the management server. However, something I have not found yet is, if the management server is an MDS, how to change licenses on the domains on the MDS. I have only found information regarding changing licenses at the MDS level or SMS (if no mds). I have not found in documentation anything regarding the licenses for the Domain/CMA or how to manipulate the domain level changes through the Gaia API like you can through the management API.
Is this possible at all? or is this something that is coming in the future?