:doc:`ManagedintegrationsforIoTDeviceManagement <../../iot-managed-integrations>` / Client / delete_managed_thing

********************
delete_managed_thing
********************



.. py:method:: ManagedintegrationsforIoTDeviceManagement.Client.delete_managed_thing(**kwargs)

  

  Delete a managed thing. For direct-connected and hub-connected devices connecting with Managed integrations via a controller, all of the devices connected to it will have their status changed to ``PENDING``. It is not possible to remove a cloud-to-cloud device.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-managed-integrations-2025-03-03/DeleteManagedThing>`_  


  **Request Syntax**
  ::

    response = client.delete_managed_thing(
        Identifier='string',
        Force=True|False
    )
    
  :type Identifier: string
  :param Identifier: **[REQUIRED]** 

    The id of the managed thing.

    

  
  :type Force: boolean
  :param Force: 

    When set to ``TRUE``, a forceful deteletion of the managed thing will occur. When set to ``FALSE``, a non-forceful deletion of the managed thing will occur.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ValidationException`

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

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

  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.UnauthorizedException`

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

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

  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ResourceNotFoundException`

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

  