:doc:`Appflow <../../appflow>` / Client / unregister_connector

********************
unregister_connector
********************



.. py:method:: Appflow.Client.unregister_connector(**kwargs)

  

  Unregisters the custom connector registered in your account that matches the connector label provided in the request.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UnregisterConnector>`_  


  **Request Syntax**
  ::

    response = client.unregister_connector(
        connectorLabel='string',
        forceDelete=True|False
    )
    
  :type connectorLabel: string
  :param connectorLabel: **[REQUIRED]** 

    The label of the connector. The label is unique for each ``ConnectorRegistration`` in your Amazon Web Services account.

    

  
  :type forceDelete: boolean
  :param forceDelete: 

    Indicates whether Amazon AppFlow should unregister the connector, even if it is currently in use in one or more connector profiles. The default value is false.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`Appflow.Client.exceptions.ResourceNotFoundException`

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

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

  