You can change the IP address type by updating the API’s configuration. You can update the API's configuration by using the AWS Management Console, the AWS CLI, AWS CloudFormation, or an AWS SDK. If you change the API’s IP address type, you don't redeploy your API for the changes to take effect. Before you change the IP address type, confirm that any policies controlling access to your APIs have been updated to account for IPv6 calls.
To change the IP address type of a REST API
Sign in to the API Gateway console at https://console.aws.amazon.com/apigateway
. Choose a REST API.
Choose API settings, and then choose Edit.
For IP address type, select either IPv4 or Dualstack.
Choose Save changes.
The change to your API's configuration will take effect immediately.