On this page

1 endpoint.

MethodPathSummary
POST/api/communities/{communityId}/direct-messages/{conversationId}/messages/{messageId}/hideHide a direct message from your own view («حذف لدي»)

Removes one message from the caller's own view of the conversation — the other participant still sees it. Either participant may hide any message in the conversation. Idempotent. To delete for both, use DELETE on the message.

Auth: Bearer JWT required.

Parameters

NameInRequiredTypeDescription
communityIdpathyesstring—
conversationIdpathyesstring—
messageIdpathyesstring—

Responses

StatusDescriptionBody
200Hidden for the caller—
403Not a participant in this conversation, or not a community member—
404MESSAGE_NOT_FOUND — the message is not in this conversation—
503MESSAGE_HIDE_UNAVAILABLE — the migration has not run yet—