[{"data":1,"prerenderedAt":435},["ShallowReactive",2],{"h1911597440":3,"h2923191797":271,"h2712740800":421},{"id":4,"title":5,"body":6,"description":262,"extension":263,"meta":264,"navigation":266,"path":267,"seo":268,"stem":269,"__hash__":270},"docs\u002Fen\u002Fdocs\u002Fmessaging-api\u002Fstop-displaying-rich-menu.md","Stop displaying rich menus",{"type":7,"value":8,"toc":237},"minimark",[9,16,19,23,26,29,34,37,54,57,61,69,72,75,85,89,92,157,160,164,167,176,179,199,202,206,213,216,224],[10,11,13],"h1",{"id":12},"",[14,15],"page-title",{},[17,18],"markdown-controls",{},[20,21,22],"p",{},"There are times when you may want to stop displaying the current rich menu to users, such as when a campaign ends or when you stop offering seasonal products. Depending on the type of rich menu, the target of the unlink, the method of unlinking, the scope and timing of the change vary. As a result, the rich menu may unexpectedly remain visible even after you take steps to stop displaying it.",[20,24,25],{},"This page explains how to stop displaying rich menus and what to be aware of when doing so.",[27,28],"toc",{},[30,31,33],"h2",{"id":32},"stop-displaying-default-rich-menu","Stop displaying a default rich menu",[20,35,36],{},"To stop displaying a default rich menu that is displayed to all users, unlink it according to the method used to set the rich menu.",[38,39,40,48],"ul",{},[41,42,43],"li",{},[44,45,47],"a",{"href":46},"#stop-displaying-default-rich-menu-messaging-api","If you set it up with the Messaging API",[41,49,50],{},[44,51,53],{"href":52},"#stop-displaying-default-rich-menu-oa","If you set it up with the LINE Official Account Manager",[20,55,56],{},"However, even if you unlink a default rich menu, the per-user rich menu will continue to be displayed for users who are linked to a per-user rich menu.",[58,59,47],"h3",{"id":60},"stop-displaying-default-rich-menu-messaging-api",[20,62,63,64,68],{},"If you set up a rich menu with the Messaging API, use the ",[44,65,67],{"href":66},"\u002Freference\u002Fmessaging-api\u002F#clear-default-rich-menu","Clear default rich menu"," endpoint.",[20,70,71],{},"Even if you clear a rich menu, the change won't be reflected in a user's rich menu until the user re-enters the chat screen. Also, it may take about a minute for the change to be applied.",[58,73,53],{"id":74},"stop-displaying-default-rich-menu-oa",[20,76,77,78,84],{},"If you set up a rich menu with the ",[44,79,83],{"href":80,"rel":81},"https:\u002F\u002Fmanager.line.biz\u002F",[82],"nofollow","LINE Official Account Manager",", change or delete the setting from the LINE Official Account Manager. You can't stop displaying a rich menu set up with the LINE Official Account Manager from the Messaging API.",[30,86,88],{"id":87},"stop-displaying-per-user-rich-menu","Stop displaying a per-user rich menu",[20,90,91],{},"To stop displaying a per-user rich menu, unlink the rich menu from the user. Use one of the following endpoints according to the range of target users.",[93,94,95,111],"table",{},[96,97,98],"thead",{},[99,100,101,105,108],"tr",{},[102,103,104],"th",{},"Target",[102,106,107],{},"Endpoint to use",[102,109,110],{},"Timing of unlinking",[112,113,114,129,144],"tbody",{},[99,115,116,120,126],{},[117,118,119],"td",{},"A single user",[117,121,122],{},[44,123,125],{"href":124},"\u002Freference\u002Fmessaging-api\u002F#unlink-rich-menu-from-user","Unlink rich menu from user",[117,127,128],{},"Immediate",[99,130,131,134,141],{},[117,132,133],{},"Multiple users",[117,135,136,140],{},[44,137,139],{"href":138},"\u002Freference\u002Fmessaging-api\u002F#unlink-rich-menu-from-users","Unlink rich menus from multiple users",", etc.",[117,142,143],{},"Asynchronous",[99,145,146,149,155],{},[117,147,148],{},"All users linked to a specific rich menu",[117,150,151],{},[44,152,154],{"href":153},"\u002Freference\u002Fmessaging-api\u002F#batch-control-rich-menus-of-users","Replace or unlink the linked rich menus in batches",[117,156,143],{},[20,158,159],{},"However, even if you unlink a per-user rich menu, the default rich menu will continue to be displayed for users who are linked to a default rich menu.",[30,161,163],{"id":162},"if-you-are-using-tab-switching","If you are using tab switching (rich menu aliases)",[20,165,166],{},"If you are switching tabs using rich menu aliases, a user may tap a tab and switch to another rich menu while you are unlinking the rich menu from the user. In this case, the link to the target rich menu may remain without being unlinked.",[20,168,169],{},[170,171],"img",{"alt":12,"className":172,"src":175},[173,174],"border","w-fix-800","\u002Fmedia\u002Fmessaging-api\u002Frich-menu\u002Fstop-displaying-rich-menu-tab-switching.webp",[20,177,178],{},"To completely stop displaying the rich menu, we recommend stopping the display using the following steps:",[180,181,182,190,196],"ol",{},[41,183,184,185,189],{},"Use the ",[44,186,188],{"href":187},"\u002Freference\u002Fmessaging-api\u002F#delete-rich-menu-alias","Delete rich menu alias"," endpoint so that users can't switch to another tab.",[41,191,192,193,195],{},"Use an endpoint such as ",[44,194,154],{"href":153}," to unlink the target rich menu from users.",[41,197,198],{},"To unlink the links that remained without being unlinked due to tab switching, wait for a while and re-execute the unlinking process.",[20,200,201],{},"For rich menus using the rich menu alias deleted in step 1, tab switching won't be possible until the unlinking is complete, which may temporarily degrade the user experience.",[30,203,205],{"id":204},"delete-unneeded-rich-menu","Delete unneeded rich menus",[20,207,208,209,68],{},"Once you have confirmed that the rich menu is completely no longer displayed to users and is no longer displayed on the user's chat screen, we recommend deleting the unneeded rich menu with the ",[44,210,212],{"href":211},"\u002Freference\u002Fmessaging-api\u002F#delete-rich-menu","Delete rich menu",[20,214,215],{},"There is a limit to the number of rich menus you can create with the Messaging API (1,000 per LINE Official Account). By deleting unneeded rich menus, you can operate without reaching the limit.",[20,217,218,219,223],{},"Even if you delete only the rich menu without ",[44,220,222],{"href":221},"#stop-displaying-per-user-rich-menu","unlinking it from users",", it won't disappear immediately from the user's chat screen. The deleted rich menu will continue to be displayed until the user re-enters the chat screen. If you want to stop it immediately even while the user is on the chat screen, don't delete the rich menu, but unlink it first.",[20,225,226,227,231,232,236],{},"Also, you can ",[44,228,230],{"href":229},"\u002Fdocs\u002Fmessaging-api\u002Frich-menus-overview\u002F#rich-menu-insight-after-deletion","get rich menu insight even after deleting a rich menu",", but you will no longer be able to ",[44,233,235],{"href":234},"\u002Freference\u002Fmessaging-api\u002F#get-rich-menu-list","get rich menu list"," via the Messaging API. If you plan to get statistical information even after deleting a rich menu, be sure to save the rich menu ID before deleting it.",{"title":12,"searchDepth":238,"depth":239,"links":240},4,5,[241,253,256,259],{"id":242,"depth":243,"text":244,"children":245},"stop-displaying-a-default-rich-menu-stop-displaying-default-rich-menu",2,"Stop displaying a default rich menu {#stop-displaying-default-rich-menu}",[246,250],{"id":247,"depth":248,"text":249},"if-you-set-it-up-with-the-messaging-api-stop-displaying-default-rich-menu-messaging-api",3,"If you set it up with the Messaging API {#stop-displaying-default-rich-menu-messaging-api}",{"id":251,"depth":248,"text":252},"if-you-set-it-up-with-the-line-official-account-manager-stop-displaying-default-rich-menu-oa","If you set it up with the LINE Official Account Manager {#stop-displaying-default-rich-menu-oa}",{"id":254,"depth":243,"text":255},"stop-displaying-a-per-user-rich-menu-stop-displaying-per-user-rich-menu","Stop displaying a per-user rich menu {#stop-displaying-per-user-rich-menu}",{"id":257,"depth":243,"text":258},"if-you-are-using-tab-switching-rich-menu-aliases-if-you-are-using-tab-switching","If you are using tab switching (rich menu aliases) {#if-you-are-using-tab-switching}",{"id":260,"depth":243,"text":261},"delete-unneeded-rich-menus-delete-unneeded-rich-menu","Delete unneeded rich menus {#delete-unneeded-rich-menu}",null,"md",{"tags":262,"author":262,"last_updated":262,"source_language":265,"toc_max_depth":243},"en",true,"\u002Fen\u002Fdocs\u002Fmessaging-api\u002Fstop-displaying-rich-menu",{"title":5,"description":262},"en\u002Fdocs\u002Fmessaging-api\u002Fstop-displaying-rich-menu","cColll1IPnTVYnRdprnM_vMtAElHtJv9MOc4TATOwzg",{"id":4,"title":5,"body":272,"description":262,"extension":263,"meta":419,"navigation":266,"path":267,"seo":420,"stem":269,"__hash__":270},{"type":7,"value":273,"toc":410},[274,278,280,282,284,286,288,290,300,302,304,308,310,312,317,319,321,365,367,369,371,376,378,390,392,394,398,400,404],[10,275,276],{"id":12},[14,277],{},[17,279],{},[20,281,22],{},[20,283,25],{},[27,285],{},[30,287,33],{"id":32},[20,289,36],{},[38,291,292,296],{},[41,293,294],{},[44,295,47],{"href":46},[41,297,298],{},[44,299,53],{"href":52},[20,301,56],{},[58,303,47],{"id":60},[20,305,63,306,68],{},[44,307,67],{"href":66},[20,309,71],{},[58,311,53],{"id":74},[20,313,77,314,84],{},[44,315,83],{"href":80,"rel":316},[82],[30,318,88],{"id":87},[20,320,91],{},[93,322,323,333],{},[96,324,325],{},[99,326,327,329,331],{},[102,328,104],{},[102,330,107],{},[102,332,110],{},[112,334,335,345,355],{},[99,336,337,339,343],{},[117,338,119],{},[117,340,341],{},[44,342,125],{"href":124},[117,344,128],{},[99,346,347,349,353],{},[117,348,133],{},[117,350,351,140],{},[44,352,139],{"href":138},[117,354,143],{},[99,356,357,359,363],{},[117,358,148],{},[117,360,361],{},[44,362,154],{"href":153},[117,364,143],{},[20,366,159],{},[30,368,163],{"id":162},[20,370,166],{},[20,372,373],{},[170,374],{"alt":12,"className":375,"src":175},[173,174],[20,377,178],{},[180,379,380,384,388],{},[41,381,184,382,189],{},[44,383,188],{"href":187},[41,385,192,386,195],{},[44,387,154],{"href":153},[41,389,198],{},[20,391,201],{},[30,393,205],{"id":204},[20,395,208,396,68],{},[44,397,212],{"href":211},[20,399,215],{},[20,401,218,402,223],{},[44,403,222],{"href":221},[20,405,226,406,231,408,236],{},[44,407,230],{"href":229},[44,409,235],{"href":234},{"title":12,"searchDepth":238,"depth":239,"links":411},[412,416,417,418],{"id":242,"depth":243,"text":244,"children":413},[414,415],{"id":247,"depth":248,"text":249},{"id":251,"depth":248,"text":252},{"id":254,"depth":243,"text":255},{"id":257,"depth":243,"text":258},{"id":260,"depth":243,"text":261},{"tags":262,"author":262,"last_updated":262,"source_language":265,"toc_max_depth":243},{"title":5,"description":262},{"toc":422,"fullToc":427},[423,424,425,426],{"id":32,"depth":243,"text":33,"children":-1},{"id":87,"depth":243,"text":88,"children":-1},{"id":162,"depth":243,"text":163,"children":-1},{"id":204,"depth":243,"text":205,"children":-1},[428,432,433,434],{"id":32,"depth":243,"text":33,"children":429},[430,431],{"id":60,"depth":248,"text":47},{"id":74,"depth":248,"text":53},{"id":87,"depth":243,"text":88},{"id":162,"depth":243,"text":163},{"id":204,"depth":243,"text":205},1794451687171]