Sanity Library Reference Docs
    Preparing search index...

    Variable removeCommentConst Beta

    removeComment: (
        instance: SanityInstance,
        options: RemoveCommentOptions,
    ) => Promise<void> = ...

    Deletes a comment, and its replies when it starts a thread.

    Type declaration

    Comments have moved to the organization collaboration API. Import from @sanity/sdk/collaboration; this add-on dataset API is removed in the next major.