HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/doc/awscli/examples/route53resolver/disassociate-resolver-endpoint-ip-address.rst
**To disassociate an IP address from a Resolver endpoint**

The following ``disassociate-resolver-endpoint-ip-address`` example removes an IP address from a specified Resolver inbound or outbound endpoint. 

**Note** An endpoint must have at least two IP addresses. If an endpoint currently has only two IP addresses and you want to replace one address with another address, you must first use `associate-resolver-endpoint-ip-address <https://docs.aws.amazon.com/cli/latest/reference/route53resolver/associate-resolver-endpoint-ip-address.html>`__ to associate the new IP address. Then you can disassociate one of the original IP addresses from the endpoint. ::

    aws route53resolver disassociate-resolver-endpoint-ip-address \
        --resolver-endpoint-id rslvr-in-f9ab8a03f1example \
        --ip-address="SubnetId=subnet-12d8a459,Ip=172.31.40.121" 

Output::

    {
        "ResolverEndpoint": {
            "Id": "rslvr-in-f9ab8a03f1example",
            "CreatorRequestId": "2020-01-01-18:47",
            "Arn": "arn:aws:route53resolver:us-west-2:111122223333:resolver-endpoint/rslvr-in-f9ab8a03f1example",
            "Name": "my-inbound-endpoint",
            "SecurityGroupIds": [
                "sg-f62bexam"
            ],
            "Direction": "INBOUND",
            "IpAddressCount": 3,
            "HostVPCId": "vpc-304bexam",
            "Status": "UPDATING",
            "StatusMessage": "Updating the Resolver Endpoint",
            "CreationTime": "2020-01-01T23:02:29.583Z",
            "ModificationTime": "2020-01-05T23:02:29.583Z"
        }
    }