m2x/v2/collections.py
def remove_device(self, device_id):
        """ Method for `Remove device from collection <https://m2x.att.com/developer/documentation/v2/collections#Remove-device-from-collection>`_ endpoint.

        :param device_id: ID of the Device being removed from Collection
        :type device_id: str

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        path = self.subpath('/devices/{device_id}'.format(device_id=device_id))
        return self.api.delete(path)
def remove_device(self, device_id):
        """ Method for `Remove device from collection <https://m2x.att.com/developer/documentation/v2/collections#Remove-device-from-collection>`_ endpoint.

        :param device_id: ID of the Device being removed from Collection
        :type device_id: str

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
        """
        path = self.subpath('/devices/{device_id}'.format(device_id=device_id))
        return self.api.delete(path)
def remove_device ( self , device_id ) : path = self . subpath ( '/devices/{device_id}' . format ( device_id = device_id ) ) return self . api . delete ( path )
Method for `Remove device from collection <https://m2x.att.com/developer/documentation/v2/collections#Remove-device-from-collection>`_ endpoint.

        :param device_id: ID of the Device being removed from Collection
        :type device_id: str

        :raises: :class:`~requests.exceptions.HTTPError` if an error occurs when sending the HTTP request
Method for Remove device from collection <https : // m2x . att . com / developer / documentation / v2 / collections#Remove - device - from - collection > _ endpoint .