From e328d33fc7d6a0f2e3d260d8bddee3ef633318eb Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 29 Oct 2024 22:11:36 -0400 Subject: Restrict deletion to deleting your own messages. --- docs/api/channels-messages.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/api/channels-messages.md b/docs/api/channels-messages.md index 6391b5a..d87a01c 100644 --- a/docs/api/channels-messages.md +++ b/docs/api/channels-messages.md @@ -227,3 +227,7 @@ When completed, the service will emit a [message deleted](events.md#message-dele ### Invalid message ID This endpoint will respond with a status of `404 Not Found` if the message ID is not valid. + +### Not the sender + +This endpoint will respond with a status of `403 Forbidden` if the message was sent by a different login. -- cgit v1.2.3