:doc:`GuardDuty <../../guardduty>` / Client / delete_threat_entity_set

************************
delete_threat_entity_set
************************



.. py:method:: GuardDuty.Client.delete_threat_entity_set(**kwargs)

  

  Deletes the threat entity set that is associated with the specified ``threatEntitySetId``.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatEntitySet>`_  


  **Request Syntax**
  ::

    response = client.delete_threat_entity_set(
        DetectorId='string',
        ThreatEntitySetId='string'
    )
    
  :type DetectorId: string
  :param DetectorId: **[REQUIRED]** 

    The unique ID of the detector associated with the threat entity set resource.

     

    To find the ``detectorId`` in the current Region, see the Settings page in the GuardDuty console, or run the `ListDetectors <https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html>`__ API.

    

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

    The unique ID that helps GuardDuty identify which threat entity set needs to be deleted.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`GuardDuty.Client.exceptions.BadRequestException`

  
  *   :py:class:`GuardDuty.Client.exceptions.InternalServerErrorException`

  