platypush/plugins/nextcloud/__init__.py
def delete_path(self, path: str, user_id: Optional[str] = None, **server_args):
        """
        Delete a file or folder.

        :param path: Path to the resource.
        :param user_id: User ID associated to the resource (default: same as the configured user).
        :param server_args: Override the default server settings (see :meth:`._get_client` arguments).
        """
        user_id = user_id or server_args.get('username', self.conf.username)
        self._execute(server_args, 'delete_path', user_id, path)

        Delete a file or folder.

        :param path: Path to the resource.
        :param user_id: User ID associated to the resource (default: same as the configured user).
        :param server_args: Override the default server settings (see :meth:`._get_client` arguments).
        
Delete a file or folder.
Delete a file or folder .
def delete_path(self, path: str, user_id: Optional[str] = None, **server_args):
        user_id = user_id or server_args.get('username', self.conf.username)
        self._execute(server_args, 'delete_path', user_id, path)
def delete_path ( self , path : str , user_id : Optional [ str ] = None , ** server_args ) : user_id = user_id or server_args . get ( 'username' , self . conf . username ) self . _execute ( server_args , 'delete_path' , user_id , path )
Delete a file or folder.
Delete a file or folder .
"""
        Delete a file or folder.

        :param path: Path to the resource.
        :param user_id: User ID associated to the resource (default: same as the configured user).
        :param server_args: Override the default server settings (see :meth:`._get_client` arguments).
        """
self
path
str
Path to the resource.
Path to the resource .
user_id
Optional[str]
User ID associated to the resource (default: same as the configured user).
User ID associated to the resource ( default : same as the configured user ) .
server_args
Override the default server settings .
Override the default server settings .