:doc:`RTBFabric <../../rtbfabric>` / Client / delete_link

***********
delete_link
***********



.. py:method:: RTBFabric.Client.delete_link(**kwargs)

  

  Deletes a link between gateways.

   

  Permanently removes the connection between gateways. This action cannot be undone.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/rtbfabric-2023-05-15/DeleteLink>`_  


  **Request Syntax**
  ::

    response = client.delete_link(
        gatewayId='string',
        linkId='string'
    )
    
  :type gatewayId: string
  :param gatewayId: **[REQUIRED]** 

    The unique identifier of the gateway.

    

  
  :type linkId: string
  :param linkId: **[REQUIRED]** 

    The unique identifier of the link.

    

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

    
    ::

      {
          'linkId': 'string',
          'status': 'PENDING_CREATION'|'PENDING_REQUEST'|'REQUESTED'|'ACCEPTED'|'ACTIVE'|'REJECTED'|'FAILED'|'PENDING_DELETION'|'DELETED'|'PENDING_UPDATE'|'PENDING_ISOLATION'|'ISOLATED'|'PENDING_RESTORATION'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **linkId** *(string) --* 

        The unique identifier of the link.

        
      

      - **status** *(string) --* 

        The status of the link.

        
  
  **Exceptions**
  
  *   :py:class:`RTBFabric.Client.exceptions.ResourceNotFoundException`

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

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

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

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

  
  *   :py:class:`RTBFabric.Client.exceptions.ValidationException`

  