Skip to content

Commit bc3a6cc

Browse files
kzwmsykimasahiro
authored andcommitted
modify http method of v2/bot/richmenu/bulk/unlink (#422)
it should be POST, not DELETE. (see: https://developers.line.biz/ja/reference/messaging-api/#unlink-rich-menu-from-users)
1 parent 42d6636 commit bc3a6cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

line-bot-api-client/src/main/java/com/linecorp/bot/client/LineMessagingService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ Call<Void> linkRichMenuToUser(
268268
*
269269
* @see LineMessagingClient#unlinkRichMenuIdFromUser(String)
270270
*/
271-
@DELETE("v2/bot/richmenu/bulk/unlink")
271+
@POST("v2/bot/richmenu/bulk/unlink")
272272
Call<Void> unlinkRichMenuIdFromUsers(@Body RichMenuBulkUnlinkRequest request);
273273

274274
/**

0 commit comments

Comments
 (0)