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

*************************
delete_trusted_entity_set
*************************



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

  

  Deletes the trusted entity set that is associated with the specified ``trustedEntitySetId``.

  

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


  **Request Syntax**
  ::

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

    The unique ID of the detector associated with the trusted 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 TrustedEntitySetId: string
  :param TrustedEntitySetId: **[REQUIRED]** 

    The unique ID that helps GuardDuty identify which trusted 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`

  