Hey Jade, we only have a single role type for domain admins so there's not a way to restrict users in a config/json file. In regards to the API, the documentation is not complete and only a few of the API sections have been documented.
Larry Duran
Product Manager
SmarterTools Inc.
www.smartertools.com