:doc:`NetworkManager <../../networkmanager>` / Client / delete_global_network

*********************
delete_global_network
*********************



.. py:method:: NetworkManager.Client.delete_global_network(**kwargs)

  

  Deletes an existing global network. You must first delete all global network objects (devices, links, and sites), deregister all transit gateways, and delete any core networks.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteGlobalNetwork>`_  


  **Request Syntax**
  ::

    response = client.delete_global_network(
        GlobalNetworkId='string'
    )
    
  :type GlobalNetworkId: string
  :param GlobalNetworkId: **[REQUIRED]** 

    The ID of the global network.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'GlobalNetwork': {
              'GlobalNetworkId': 'string',
              'GlobalNetworkArn': 'string',
              'Description': 'string',
              'CreatedAt': datetime(2015, 1, 1),
              'State': 'PENDING'|'AVAILABLE'|'DELETING'|'UPDATING',
              'Tags': [
                  {
                      'Key': 'string',
                      'Value': 'string'
                  },
              ]
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **GlobalNetwork** *(dict) --* 

        Information about the global network.

        
        

        - **GlobalNetworkId** *(string) --* 

          The ID of the global network.

          
        

        - **GlobalNetworkArn** *(string) --* 

          The Amazon Resource Name (ARN) of the global network.

          
        

        - **Description** *(string) --* 

          The description of the global network.

          
        

        - **CreatedAt** *(datetime) --* 

          The date and time that the global network was created.

          
        

        - **State** *(string) --* 

          The state of the global network.

          
        

        - **Tags** *(list) --* 

          The tags for the global network.

          
          

          - *(dict) --* 

            Describes a tag.

            
            

            - **Key** *(string) --* 

              The tag key.

               

              Constraints: Maximum length of 128 characters.

              
            

            - **Value** *(string) --* 

              The tag value.

               

              Constraints: Maximum length of 256 characters.

              
        
      
    
  
  **Exceptions**
  
  *   :py:class:`NetworkManager.Client.exceptions.ValidationException`

  
  *   :py:class:`NetworkManager.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ConflictException`

  
  *   :py:class:`NetworkManager.Client.exceptions.ThrottlingException`

  
  *   :py:class:`NetworkManager.Client.exceptions.InternalServerException`

  