I’m trying to find a way to retrieve the Associated Deployment Role Objects for servers, including the object info that I’m able to see in the GUI (zones, etc). I’m able to use this below to get the roles, but that embedded data doesn’t include the zone/network, and using the returned ID to get the object doesn’t contain that data either. Is there another way?
{{bam_url}}/api/v2/servers/:id?fields=embed(deploymentRoles)