:doc:`IoT <../../iot>` / Client / delete_v2_logging_level

***********************
delete_v2_logging_level
***********************



.. py:method:: IoT.Client.delete_v2_logging_level(**kwargs)

  

  Deletes a logging level.

   

  Requires permission to access the `DeleteV2LoggingLevel <https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions>`__ action.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-2015-05-28/DeleteV2LoggingLevel>`_  


  **Request Syntax**
  ::

    response = client.delete_v2_logging_level(
        targetType='DEFAULT'|'THING_GROUP'|'CLIENT_ID'|'SOURCE_IP'|'PRINCIPAL_ID',
        targetName='string'
    )
    
  :type targetType: string
  :param targetType: **[REQUIRED]** 

    The type of resource for which you are configuring logging. Must be ``THING_Group``.

    

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

    The name of the resource for which you are configuring logging.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`IoT.Client.exceptions.InternalException`

  
  *   :py:class:`IoT.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`IoT.Client.exceptions.ServiceUnavailableException`

  