Update Analytics Folder Share
Change a share's permission between view and edit. A guest can only view. Nobody is emailed.
Path
The folder id, from List Analytics Folders.
The share id, from List Analytics Page Shares.
Headers
Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. Here a key acts in another organization only as one of its members: with "Use this key across all of your organizations" on, in an organization its creator belongs to with a role. Child organizations and MindCloud staff access do not reach this endpoint. Every response's X-Company-Id header names the organization it acted in. See Organizations.
Body
view or edit.
What the target can do now. A guest can only view.
viewCan open it.editCan open and edit it, as their role allows.
Response fields
idstringThe share's id.
targetTypestringWho it is for.
userOne member of the organization.organizationEveryone in the organization.roleEvery member whose role is this one, now and later.teamEvery member of this team, now and later.guestA person outside the organization, by email. View only, pages only. They get an email with a link that works for 30 days and asks for a code sent to that address.
permissionstringWhat they can do.
viewCan open it.editCan open and edit it, as their role allows.
userIdstringFor user: the member, from List Members. Null otherwise.
namestringFor user: the member's name. Null otherwise.
emailstringFor user: the member's email. For guest: the guest's address. Null otherwise.
roleIdstringFor role: the role, from List Roles. Null otherwise.
roleNamestringFor role: the role's name. Null otherwise.
teamIdstringFor team: the team, from List Teams. Null otherwise.
teamNamestringFor team: the team's name. Null otherwise.
viaFolderIdstringOn a page: the folder this share comes from (from List Analytics Folders), when the page inherits it. Change it on that folder. Null for a share on the page itself.
viaFolderNamestringThe name of the folder it comes from. Null when it is the page's own.
createdOndateWhen it was shared.
updatedOndateWhen it last changed.