mise API - v0.0.0
    Preparing search index...

    Function feed_makePrivate

    • Makes a feed private by feed ID.

      Retrieves the feed resource and calls its makeUnpublic() method to change the feed's visibility to private (unpublish it).

      Parameters

      • feedId: number

        The numeric ID of the feed to make private.

      Returns Promise<Result<boolean>>

      A Result containing true on success, or an error.

      const result = await feed_makePrivate(123);
      if (result.ok) {
      console.log("Feed is now private");
      }