1 endpoint.
| Method | Path | Summary |
|---|---|---|
POST | /api/communities/{communityId}/direct-messages/{conversationId}/messages/{messageId}/hide | Hide a direct message from your own view («حذف لدي») |
POST /api/communities/{communityId}/direct-messages/{conversationId}/messages/{messageId}/hideRemoves 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
| Name | In | Required | Type | Description |
|---|---|---|---|---|
communityId | path | yes | string | — |
conversationId | path | yes | string | — |
messageId | path | yes | string | — |
Responses
| Status | Description | Body |
|---|---|---|
200 | Hidden for the caller | — |
403 | Not a participant in this conversation, or not a community member | — |
404 | MESSAGE_NOT_FOUND — the message is not in this conversation | — |
503 | MESSAGE_HIDE_UNAVAILABLE — the migration has not run yet | — |