Skip to main content

6. 如何清空串接的圖文選單?

步驟1 查詢 richmenu id
curl -v -X GET https://api.line.me/v2/bot/richmenu/list \
-H 'Authorization: Bearer 2S4gukT09UHXAAzhn2044If(最長的key)'

步驟2 刪除 richmenu id
curl -X DELETE https://api.line.me/v2/bot/richmenu/richmenu-0a9e2901614b45e8285202b2c00704f6(這串要換掉) \
-H "Authorization: Bearer 2S4gukT09UHXAAzhn2044If(最長的key)"