def delete(self, timeout=-1, custom_headers=None, force=False):
        """Deletes current resource.

        Args:
            timeout: Timeout in seconds.
            custom_headers: Allows to set custom http headers.
            force: Flag to force the operation.
        """
        uri = self.data['uri']

        logger.debug("Delete resource (uri = %s)" % (str(uri)))

        return self._helper.delete(uri, timeout=timeout,
                                   custom_headers=custom_headers, force=force)
def delete ( self , timeout = - 1 , custom_headers = None , force = False ) : uri = self . data [ 'uri' ] logger . debug ( "Delete resource (uri = %s)" % ( str ( uri ) ) ) return self . _helper . delete ( uri , timeout = timeout , custom_headers = custom_headers , force = force )
Deletes current resource.

        Args:
            timeout: Timeout in seconds.
            custom_headers: Allows to set custom http headers.
            force: Flag to force the operation.