Skip to Content
MosaicMosaicDocs
Tool Reference

UpdateSharing

Change who can access a document (including a task), or a project (folder), as the Share menu in the app does: link sharing, team access, and per-channel access.

Starter documentation. Features and account details may differ from this deployment.

UpdateSharing

Change who can access a document (including a task), or a project (folder), as the Share menu in the app does: link sharing, team access, and per-channel access. Each omitted field stays unchanged; off disables that share. Requires edit access to a document, or owning a project; only the owner can change team access. Use ShareWithChannel to post an item into a channel, and UpdateInitiativeSharing for Tasks projects (initiatives).

Parameters

ParameterTypeRequiredDescription
entityType"document" | "project"YesThe kind of item whose sharing changes.
entityIdstringYesThe id of the item whose sharing changes.
linkScope"off" | "public" | "team"NoWho the item's share link admits: public (anyone with the link), team (the owner's team members with the link), or off to disable link sharing.
linkAccess"off" | "view" | "comment" | "edit"NoPermission granted by an enabled share link. Off resets it to the default level.
teamAccess"off" | "view" | "comment" | "edit"NoAccess for everyone on the owner's team; off removes it.
channelsSharingChannel[]NoIndividual channel grants to set or remove; other channel grants stay unchanged.

On this page