Controlling the AWS security groups through API

Is there a way to restrict the managed influxcloud servers from being accessed from any IP?
More specifically, is there an API to control the instances security groups, so it can only be accessed by authorized IPs from our cloud servers?

That’s not something we currently offer, however we have just started doing VPC peering. Your best bet would probably be to reach out to our sales team for a more in-depth discussion.