Help & Support

Moderating Own Threads

This guide illustrates how users can moderate conversations on their own threads.

Hide a Reply

The Lens API allows you to hide replies to your own posts. This feature only affects the data returned by the API; the replies still exist on-chain.

You MUST be authenticated as Account Owner or Account Manager to make this request.

Use the hideReply action to hide a reply on your post. To undo this action, use the unhideReply action.

import { postId } from "@lens-protocol/client";import { hideReply } from "@lens-protocol/client/actions";
const result = await hideReply(sessionClient, {  post: postId("1234…"),});
if (result.isErr()) {  return console.error(result.error);}