1**To disassociate subnets from a multicast domain**
2
3This example disassociates a subnet from the specified multicast domain. ::
4
5    aws ec2 disassociate-transit-gateway-multicast-domain \
6        --transit-gateway-attachment-id tgw-attach-070e571cd1EXAMPLE \
7        --subnet-id subnet-000de86e3bEXAMPLE \
8        --transit-gateway-multicast-domain-id tgw-mcast-domain-0c4905cef7EXAMPLE
9
10Output::
11
12    {
13        "Associations": {
14            "TransitGatewayMulticastDomainId": "tgw-mcast-domain-0c4905cef7EXAMPLE",
15            "TransitGatewayAttachmentId": "tgw-attach-070e571cd1EXAMPLE",
16            "ResourceId": "vpc-7EXAMPLE",
17            "ResourceType": "vpc",
18            "Subnets": [
19                {
20                    "SubnetId": "subnet-000de86e3bEXAMPLE",
21                    "State": "disassociating"
22                }
23            ]
24        }
25    }
26
27For more information, see 'Disassociate Subnets from a Transit Gateway Multicast Domain<https://docs.aws.amazon.com/vpc/latest/tgw/working-with-multicast.html#remove-subnet-association>'__ in the *AWS Transit Gateways User Guide*'.
28