aws es revoke-vpc-endpoint-access
Revokes access to an Amazon OpenSearch Service domain that was provided through an interface VPC endpoint. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--accountThe account ID to revoke access from.--domain-nameThe name of the OpenSearch Service domain.