Update the visibility of multiple bookmarks in a single operation. Useful for batch privacy updates or when preparing bookmarks for public sharing.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ephraimduncan/minimal.so/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
server/procedures/bookmarks.ts:186
Input
Array of bookmark IDs to update (minimum 1)
Visibility setting to apply to all bookmarks:
true- Make all bookmarks publicfalse- Make all bookmarks privatenull- All bookmarks inherit visibility from their parent groups
Response
The number of bookmarks successfully updated
Behavior
- Only bookmarks owned by the authenticated user are updated
- Bookmarks not owned by the user are silently skipped (no error)
- The operation returns the total count of successfully updated bookmarks
- All updates are atomic within a single database transaction
Usage examples
React Query (client component)
Server component
Direct client with error handling
Use cases
Preparing for public profile
Make all bookmarks in a group public before enabling the group’s visibility:Privacy cleanup
Quickly make all selected bookmarks private:Reset to group defaults
Remove explicit visibility overrides and let bookmarks inherit from their groups:Related endpoints
- Set bookmark visibility - Update visibility for a single bookmark
- Set group visibility - Control visibility of entire groups
- Bulk move - Move multiple bookmarks to a different group