aws ds remove-ip-routes
Removes IP address blocks from a directory. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--cidr-ipsIP address blocks that you want to remove.--cidr-ipv6sIPv6 address blocks that you want to remove.--directory-idIdentifier (ID) of the directory from which you want to remove the IP addresses.