CmdID / aws / aws networkmanager
aws networkmanager delete-site
Deletes an existing site. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To delete a site
The following delete-site example deletes the specified site (site-444555aaabbb11223) in the specified global network.
aws networkmanager delete-site --global-network-id global-network-01231231231231231 --site-id site-444555aaabbb11223Identify--global-network-idThe ID of the global network.--site-idThe ID of the site.Its output
{
"Site": {
"SiteId": "site-444555aaabbb11223",
"SiteArn": "arn:aws:networkmanager::123456789012:site/global-network-01231231231231231/site-444555aaabbb11223",
"GlobalNetworkId": "global-network-01231231231231231",
"Description": "New York head office",
"Location": {
"Latitude": "40.7128",
"Longitude": "-74.0060"
},
"CreatedAt": 1575554300.0,
"State": "DELETING"
}
}For more information, see Sites and links in AWS Global Networks for Transit Gateways in the Transit Gateway Network Manager Guide.
Options
--global-network-idThe ID of the global network.--site-idThe ID of the site.