[client][managed][sd] Send __undelete = true for undelete  and added missing doc comments