NSX-T Data Center REST API
Undeploys gateway for the specified VPC
All the required configuration to undeploy AWS gateway will be absorbedas a part of request body in this API and gateway undeployment will be
triggered. Undeployment progress can be known from GetAwsGatewayStatus
API. Upon successful undeployment of a gateway, the deployment_step will be
UNDEPLOYMENT_SUCCESSFUL and gateway_status will be NOT_AVAILABLE. If any
error is encountered during undeployment, corresponding error_code and
error_message will be populated in gateway_instances_status
Request:
Method:
              POST
            URI Path(s):
              
              
                  
                  /api/v1/csm/aws/gateways?action=undeploy
                  
              
            Request Headers:
                n/a
            Query Parameters:
    n/a
  Request Body:
    AwsGatewayUndeployConfig+
  Example Request:
POST https://<nsx-csm>/api/v1/csm/aws/gateways?action=undeploy { "account_id": "d02af61a-e212-486e-b6c8-10462ccfbad6", "instance_id": "i-0c2ab8e25221bcf7c" }Successful Response:
Response Code:
                200 OK
              Response Headers:
                  n/a
                Response Body:
    n/a
  