Dropbox

Links

    Dropbox API

    Getting access, Developing, Testing

    Back to Dropbox

    Paper - Docs - Sharing Policy - Set

    Sets the default sharing policy for the given Paper doc. The default 'team_sharing_policy' can be changed only by teams, omit this field for personal accounts.

    Note: 'public_sharing_policy' cannot be set to the value 'disabled' because this setting can be changed only via the team admin console.

    Input

    type: object properties: data: type: object description: | doc_id: The Paper doc ID. sharing_policy: The default sharing policy to be set for the Paper doc. properties: doc_id: type: string description: The Paper doc ID. sharing_policy: type: object description: > Sharing policy of Paper doc. public_sharing_policy: This value applies to the non-team members. team_sharing_policy: This value applies to the team members only. The value is null for all personal accounts. properties: team_sharing_policy: type: object description: > The sharing policy type of the Paper doc. people_with_link_can_edit: Users who have a link to this doc can edit it. people_with_link_can_view_and_comment: Users who have a link to this doc can view and comment on it. invite_only: Users must be explicitly invited to this doc. properties: .tag: title: Choice of SharingTeamPolicyType type: string enum: - people_with_link_can_edit - people_with_link_can_view_and_comment - invite_only public_sharing_policy: type: object description: > people_with_link_can_edit: Users who have a link to this doc can edit it. people_with_link_can_view_and_comment: Users who have a link to this doc can view and comment on it. invite_only: Users must be explicitly invited to this doc. disabled: Value used to indicate that doc sharing is enabled only within team. properties: .tag: title: Choice of SharingPublicPolicyType type: string enum: - people_with_link_can_edit - people_with_link_can_view_and_comment - invite_only - disabled title: Data