Skip to content

Dropbox: Sharing schemas (part 2)

37 Dropbox schemas with complete fields and constraints.

← Sharing operations · All schemas

Share a folder with collaborators — request body — body shared link policy Who can view shared links in this folder

FieldTypePresenceDescription and constraints
$JSONRootWho can view shared links in this folder.
$ (anyOf 1)stringAlternativeOne of: anyone, team, members
$ (anyOf 2)objectAlternative
$ (anyOf 2)..tagstringRequired within parentMust equal: anyone
$ (anyOf 3)objectAlternative
$ (anyOf 3)..tagstringRequired within parentMust equal: team
$ (anyOf 4)objectAlternative
$ (anyOf 4)..tagstringRequired within parentMust equal: members
$ (anyOf 5)objectAlternativeA tag this contract version does not list (Dropbox's other).
$ (anyOf 5)..tagstringRequired within parentPattern: ^(?!(?:anyone|team|members)$)

Share a folder with collaborators — request body — body viewer info policy value

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)stringAlternativeOne of: enabled, disabled
$ (anyOf 2)objectAlternative
$ (anyOf 2)..tagstringRequired within parentMust equal: enabled
$ (anyOf 3)objectAlternative
$ (anyOf 3)..tagstringRequired within parentMust equal: disabled
$ (anyOf 4)objectAlternativeA tag this contract version does not list (Dropbox's other).
$ (anyOf 4)..tagstringRequired within parentPattern: ^(?!(?:enabled|disabled)$)

Share a folder with collaborators — response body

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)objectAlternative
$ (anyOf 1)..tagstringRequired within parentMust equal: async_job_id
$ (anyOf 1).async_job_idstringRequired within parentMinimum length: 1
$ (anyOf 2)ModelAlternativeExpand Share a folder with collaborators — response body — tag complete

Referenced models: Share a folder with collaborators — response body — tag complete

Share a folder with collaborators — response body — tag complete

FieldTypePresenceDescription and constraints
$objectRoot
.tagstringRequired within parentMust equal: complete
access_typeModelRequired within parentExpand The current user mounts the designated folder — response body — access type
is_inside_team_folderbooleanRequired within parent
is_team_folderbooleanRequired within parent
owner_display_namesJSONOptional
owner_display_names (anyOf 1)arrayAlternative
owner_display_names (anyOf 1)[]stringEach item
owner_display_names (anyOf 2)nullAlternative
owner_teamJSONOptional
owner_team (anyOf 1)ModelAlternativeExpand Update the viewer info policy of a file — response body — owner team Information about a team
owner_team (anyOf 2)nullAlternative
parent_shared_folder_idJSONOptional
parent_shared_folder_id (anyOf 1)stringAlternativePattern: ^(?:[-_0-9a-zA-Z:]+)$
parent_shared_folder_id (anyOf 2)nullAlternative
path_displayJSONOptional
path_display (anyOf 1)stringAlternative
path_display (anyOf 2)nullAlternative
path_lowerJSONOptional
path_lower (anyOf 1)stringAlternative
path_lower (anyOf 2)nullAlternative
parent_folder_nameJSONOptional
parent_folder_name (anyOf 1)stringAlternative
parent_folder_name (anyOf 2)nullAlternative
link_metadataJSONOptional
link_metadata (anyOf 1)ModelAlternativeExpand Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder
link_metadata (anyOf 2)nullAlternative
namestringRequired within parent
permissionsJSONOptional
permissions (anyOf 1)arrayAlternative
permissions (anyOf 1)[]ModelEach itemExpand The current user mounts the designated folder — response body — permissions array item
permissions (anyOf 2)nullAlternative
policyModelRequired within parentExpand Update the viewer info policy of a file — response body — policy
preview_urlstringRequired within parent
shared_folder_idstringRequired within parentPattern: ^(?:[-_0-9a-zA-Z:]+)$
time_invitedstringRequired within parent
access_inheritanceModelOptionalExpand The current user mounts the designated folder — response body — access inheritance
folder_idJSONOptional
folder_id (anyOf 1)stringAlternativeMinimum length: 4
Pattern: ^(?:id:.+)$
folder_id (anyOf 2)nullAlternative

Referenced models: The current user mounts the designated folder — response body — access inheritance, The current user mounts the designated folder — response body — access type, The current user mounts the designated folder — response body — permissions array item, Update the viewer info policy of a file — response body — policy, Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder, Update the viewer info policy of a file — response body — owner team Information about a team

The current user mounts the designated folder — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
shared_folder_idstringRequired within parentPattern: ^(?:[-_0-9a-zA-Z:]+)$

The current user mounts the designated folder — response body

FieldTypePresenceDescription and constraints
$objectRootThe metadata which includes basic information about the shared folder.
access_typeModelRequired within parentExpand The current user mounts the designated folder — response body — access type
is_inside_team_folderbooleanRequired within parent
is_team_folderbooleanRequired within parent
owner_display_namesJSONOptional
owner_display_names (anyOf 1)arrayAlternative
owner_display_names (anyOf 1)[]stringEach item
owner_display_names (anyOf 2)nullAlternative
owner_teamJSONOptional
owner_team (anyOf 1)ModelAlternativeExpand Update the viewer info policy of a file — response body — owner team Information about a team
owner_team (anyOf 2)nullAlternative
parent_shared_folder_idJSONOptional
parent_shared_folder_id (anyOf 1)stringAlternativePattern: ^(?:[-_0-9a-zA-Z:]+)$
parent_shared_folder_id (anyOf 2)nullAlternative
path_displayJSONOptional
path_display (anyOf 1)stringAlternative
path_display (anyOf 2)nullAlternative
path_lowerJSONOptional
path_lower (anyOf 1)stringAlternative
path_lower (anyOf 2)nullAlternative
parent_folder_nameJSONOptional
parent_folder_name (anyOf 1)stringAlternative
parent_folder_name (anyOf 2)nullAlternative
link_metadataJSONOptional
link_metadata (anyOf 1)ModelAlternativeExpand Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder
link_metadata (anyOf 2)nullAlternative
namestringRequired within parent
permissionsJSONOptional
permissions (anyOf 1)arrayAlternative
permissions (anyOf 1)[]ModelEach itemExpand The current user mounts the designated folder — response body — permissions array item
permissions (anyOf 2)nullAlternative
policyModelRequired within parentExpand Update the viewer info policy of a file — response body — policy
preview_urlstringRequired within parent
shared_folder_idstringRequired within parentPattern: ^(?:[-_0-9a-zA-Z:]+)$
time_invitedstringRequired within parent
access_inheritanceModelOptionalExpand The current user mounts the designated folder — response body — access inheritance
folder_idJSONOptional
folder_id (anyOf 1)stringAlternativeMinimum length: 4
Pattern: ^(?:id:.+)$
folder_id (anyOf 2)nullAlternative

Referenced models: The current user mounts the designated folder — response body — access inheritance, The current user mounts the designated folder — response body — access type, The current user mounts the designated folder — response body — permissions array item, Update the viewer info policy of a file — response body — policy, Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder, Update the viewer info policy of a file — response body — owner team Information about a team

The current user mounts the designated folder — response body — access inheritance

FieldTypePresenceDescription and constraints
$JSONRootInformation about the inheritance policy of a shared folder.
$ (anyOf 1)stringAlternativeKnown values: inherit, no_inherit
$ (anyOf 2)objectAlternative
$ (anyOf 2)..tagstringRequired within parentMust equal: inherit
$ (anyOf 3)objectAlternative
$ (anyOf 3)..tagstringRequired within parentMust equal: no_inherit
$ (anyOf 4)objectAlternativeA tag this contract version does not list (Dropbox's other).
$ (anyOf 4)..tagstringRequired within parentPattern: ^(?!(?:inherit|no_inherit)$)

The current user mounts the designated folder — response body — access type

FieldTypePresenceDescription and constraints
$JSONRootDefines the access levels for collaborators.
$ (anyOf 1)stringAlternativeKnown values: owner, editor, viewer, viewer_no_comment, traverse, no_access
$ (anyOf 2)objectAlternative
$ (anyOf 2)..tagstringRequired within parentMust equal: owner
$ (anyOf 3)objectAlternative
$ (anyOf 3)..tagstringRequired within parentMust equal: editor
$ (anyOf 4)objectAlternative
$ (anyOf 4)..tagstringRequired within parentMust equal: viewer
$ (anyOf 5)objectAlternative
$ (anyOf 5)..tagstringRequired within parentMust equal: viewer_no_comment
$ (anyOf 6)objectAlternative
$ (anyOf 6)..tagstringRequired within parentMust equal: traverse
$ (anyOf 7)objectAlternative
$ (anyOf 7)..tagstringRequired within parentMust equal: no_access
$ (anyOf 8)objectAlternativeA tag this contract version does not list (Dropbox's other).
$ (anyOf 8)..tagstringRequired within parentPattern: ^(?!(?:owner|editor|viewer|viewer_no_comment|traverse|no_access)$)

The current user mounts the designated folder — response body — permissions array item

FieldTypePresenceDescription and constraints
$objectRootWhether the user is allowed to take the action on the shared folder.
actionModelRequired within parentExpand The current user mounts the designated folder — response body — permissions array item action
allowbooleanRequired within parent
reasonJSONOptional
reason (anyOf 1)ModelAlternativeExpand Update the viewer info policy of a file — response body — permissions array item reason Possible reasons the user is denied a permission
reason (anyOf 2)nullAlternative

Referenced models: The current user mounts the designated folder — response body — permissions array item action, Update the viewer info policy of a file — response body — permissions array item reason Possible reasons the user is denied a permission

The current user mounts the designated folder — response body — permissions array item action

FieldTypePresenceDescription and constraints
$JSONRootActions that may be taken on shared folders.
$ (anyOf 1)stringAlternativeKnown values: change_options, disable_viewer_info, edit_contents, enable_viewer_info, invite_editor, invite_viewer, invite_viewer_no_comment, relinquish_membership, unmount, unshare, leave_a_copy, share_link, create_link, create_view_link, create_edit_link, set_access_inheritance
$ (anyOf 2)objectAlternative
$ (anyOf 2)..tagstringRequired within parentMust equal: change_options
$ (anyOf 3)objectAlternative
$ (anyOf 3)..tagstringRequired within parentMust equal: disable_viewer_info
$ (anyOf 4)objectAlternative
$ (anyOf 4)..tagstringRequired within parentMust equal: edit_contents
$ (anyOf 5)objectAlternative
$ (anyOf 5)..tagstringRequired within parentMust equal: enable_viewer_info
$ (anyOf 6)objectAlternative
$ (anyOf 6)..tagstringRequired within parentMust equal: invite_editor
$ (anyOf 7)objectAlternative
$ (anyOf 7)..tagstringRequired within parentMust equal: invite_viewer
$ (anyOf 8)objectAlternative
$ (anyOf 8)..tagstringRequired within parentMust equal: invite_viewer_no_comment
$ (anyOf 9)objectAlternative
$ (anyOf 9)..tagstringRequired within parentMust equal: relinquish_membership
$ (anyOf 10)objectAlternative
$ (anyOf 10)..tagstringRequired within parentMust equal: unmount
$ (anyOf 11)objectAlternative
$ (anyOf 11)..tagstringRequired within parentMust equal: unshare
$ (anyOf 12)objectAlternative
$ (anyOf 12)..tagstringRequired within parentMust equal: leave_a_copy
$ (anyOf 13)objectAlternative
$ (anyOf 13)..tagstringRequired within parentMust equal: share_link
$ (anyOf 14)objectAlternative
$ (anyOf 14)..tagstringRequired within parentMust equal: create_link
$ (anyOf 15)objectAlternative
$ (anyOf 15)..tagstringRequired within parentMust equal: create_view_link
$ (anyOf 16)objectAlternative
$ (anyOf 16)..tagstringRequired within parentMust equal: create_edit_link
$ (anyOf 17)objectAlternative
$ (anyOf 17)..tagstringRequired within parentMust equal: set_access_inheritance
$ (anyOf 18)objectAlternativeA tag this contract version does not list (Dropbox's other).
$ (anyOf 18)..tagstringRequired within parentPattern: ^(?!(?:change_options|disable_viewer_info|edit_contents|enable_viewer_info|invite_editor|invite_viewer|invite_viewer_no_comment|relinquish_membership|unmount|unshare|leave_a_copy|share_link|create_link|create_view_link|create_edit_link|set_access_inheritance)$)

The current user relinquishes their membership in the designated file — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
filestringRequired within parentMinimum length: 1
Pattern: ^(?:((\/|id:).*|nspath:[0-9]+:.*)|ns:[0-9]+(/.*)?)$

Update the sharing policies for a shared folder — request body — body

FieldTypePresenceDescription and constraints
$objectRootIf any of the policies are unset, then they retain their current setting.
shared_folder_idstringRequired within parentPattern: ^(?:[-_0-9a-zA-Z:]+)$
member_policyJSONOptional
member_policy (anyOf 1)ModelAlternativeExpand Share a folder with collaborators — request body — body member policy value
member_policy (anyOf 2)nullAlternative
acl_update_policyJSONOptional
acl_update_policy (anyOf 1)ModelAlternativeExpand Share a folder with collaborators — request body — body acl update policy value
acl_update_policy (anyOf 2)nullAlternative
viewer_info_policyJSONOptional
viewer_info_policy (anyOf 1)ModelAlternativeExpand Share a folder with collaborators — request body — body viewer info policy value
viewer_info_policy (anyOf 2)nullAlternative
shared_link_policyJSONOptional
shared_link_policy (anyOf 1)ModelAlternativeExpand Share a folder with collaborators — request body — body shared link policy Who can view shared links in this folder
shared_link_policy (anyOf 2)nullAlternative
link_settingsJSONOptional
link_settings (anyOf 1)ModelAlternativeExpand Share a folder with collaborators — request body — body link settings Settings that apply to a link
link_settings (anyOf 2)nullAlternative
actionsJSONOptional
actions (anyOf 1)arrayAlternative
actions (anyOf 1)[]ModelEach itemExpand Share a folder with collaborators — request body — body actions array item
actions (anyOf 2)nullAlternative

Referenced models: Share a folder with collaborators — request body — body acl update policy value, Share a folder with collaborators — request body — body actions array item, Share a folder with collaborators — request body — body link settings Settings that apply to a link, Share a folder with collaborators — request body — body member policy value, Share a folder with collaborators — request body — body shared link policy Who can view shared links in this folder, Share a folder with collaborators — request body — body viewer info policy value

Update the viewer info policy of a file — request body — body

FieldTypePresenceDescription and constraints
$objectRootArguments for update_file_policy.
filestringRequired within parentMinimum length: 1
Pattern: ^(?:((\/|id:).*|nspath:[0-9]+:.*)|ns:[0-9]+(/.*)?)$
actionsJSONOptional
actions (anyOf 1)arrayAlternative
actions (anyOf 1)[]ModelEach itemExpand Update the viewer info policy of a file — request body — body actions array item
actions (anyOf 2)nullAlternative
link_settingsJSONOptional
link_settings (anyOf 1)ModelAlternativeExpand Share a folder with collaborators — request body — body link settings Settings that apply to a link
link_settings (anyOf 2)nullAlternative
viewer_info_policyJSONOptional
viewer_info_policy (anyOf 1)ModelAlternativeExpand Share a folder with collaborators — request body — body viewer info policy value
viewer_info_policy (anyOf 2)nullAlternative

Referenced models: Update the viewer info policy of a file — request body — body actions array item, Share a folder with collaborators — request body — body link settings Settings that apply to a link, Share a folder with collaborators — request body — body viewer info policy value

Update the viewer info policy of a file — request body — body actions array item

FieldTypePresenceDescription and constraints
$JSONRootSharing actions that may be taken on files.
$ (anyOf 1)stringAlternativeOne of: disable_viewer_info, edit_contents, enable_viewer_info, invite_viewer, invite_viewer_no_comment, invite_editor, unshare, relinquish_membership, share_link, create_link, create_view_link, create_edit_link
$ (anyOf 2)objectAlternative
$ (anyOf 2)..tagstringRequired within parentMust equal: disable_viewer_info
$ (anyOf 3)objectAlternative
$ (anyOf 3)..tagstringRequired within parentMust equal: edit_contents
$ (anyOf 4)objectAlternative
$ (anyOf 4)..tagstringRequired within parentMust equal: enable_viewer_info
$ (anyOf 5)objectAlternative
$ (anyOf 5)..tagstringRequired within parentMust equal: invite_viewer
$ (anyOf 6)objectAlternative
$ (anyOf 6)..tagstringRequired within parentMust equal: invite_viewer_no_comment
$ (anyOf 7)objectAlternative
$ (anyOf 7)..tagstringRequired within parentMust equal: invite_editor
$ (anyOf 8)objectAlternative
$ (anyOf 8)..tagstringRequired within parentMust equal: unshare
$ (anyOf 9)objectAlternative
$ (anyOf 9)..tagstringRequired within parentMust equal: relinquish_membership
$ (anyOf 10)objectAlternative
$ (anyOf 10)..tagstringRequired within parentMust equal: share_link
$ (anyOf 11)objectAlternative
$ (anyOf 11)..tagstringRequired within parentMust equal: create_link
$ (anyOf 12)objectAlternative
$ (anyOf 12)..tagstringRequired within parentMust equal: create_view_link
$ (anyOf 13)objectAlternative
$ (anyOf 13)..tagstringRequired within parentMust equal: create_edit_link
$ (anyOf 14)objectAlternativeA tag this contract version does not list (Dropbox's other).
$ (anyOf 14)..tagstringRequired within parentPattern: ^(?!(?:disable_viewer_info|edit_contents|enable_viewer_info|invite_viewer|invite_viewer_no_comment|invite_editor|unshare|relinquish_membership|share_link|create_link|create_view_link|create_edit_link)$)

Update the viewer info policy of a file — response body

FieldTypePresenceDescription and constraints
$objectRootProperties of the shared file.
access_typeJSONOptional
access_type (anyOf 1)ModelAlternativeExpand The current user mounts the designated folder — response body — access type
access_type (anyOf 2)nullAlternative
idstringRequired within parentMinimum length: 4
Pattern: ^(?:id:.+)$
expected_link_metadataJSONOptional
expected_link_metadata (anyOf 1)ModelAlternativeExpand Update the viewer info policy of a file — response body — expected link metadata access level, audience options, audience restricting shared folder, current audience, expiry, link permissions, password protected
expected_link_metadata (anyOf 2)nullAlternative
link_metadataJSONOptional
link_metadata (anyOf 1)ModelAlternativeExpand Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder
link_metadata (anyOf 2)nullAlternative
namestringRequired within parent
owner_display_namesJSONOptional
owner_display_names (anyOf 1)arrayAlternative
owner_display_names (anyOf 1)[]stringEach item
owner_display_names (anyOf 2)nullAlternative
owner_teamJSONOptional
owner_team (anyOf 1)ModelAlternativeExpand Update the viewer info policy of a file — response body — owner team Information about a team
owner_team (anyOf 2)nullAlternative
parent_shared_folder_idJSONOptional
parent_shared_folder_id (anyOf 1)stringAlternativePattern: ^(?:[-_0-9a-zA-Z:]+)$
parent_shared_folder_id (anyOf 2)nullAlternative
path_displayJSONOptional
path_display (anyOf 1)stringAlternative
path_display (anyOf 2)nullAlternative
path_lowerJSONOptional
path_lower (anyOf 1)stringAlternative
path_lower (anyOf 2)nullAlternative
permissionsJSONOptional
permissions (anyOf 1)arrayAlternative
permissions (anyOf 1)[]ModelEach itemExpand Update the viewer info policy of a file — response body — permissions array item
permissions (anyOf 2)nullAlternative
policyModelRequired within parentExpand Update the viewer info policy of a file — response body — policy
preview_urlstringRequired within parent
time_invitedJSONOptional
time_invited (anyOf 1)stringAlternative
time_invited (anyOf 2)nullAlternative

Referenced models: The current user mounts the designated folder — response body — access type, Update the viewer info policy of a file — response body — expected link metadata access level, audience options, audience restricting shared folder, current audience, expiry, link permissions, password protected, Update the viewer info policy of a file — response body — permissions array item, Update the viewer info policy of a file — response body — policy, Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder, Update the viewer info policy of a file — response body — owner team Information about a team

Update the viewer info policy of a file — response body — expected link metadata access level, audience options, audience restricting shared folder, current audience, expiry, link permissions, password protected

FieldTypePresenceDescription and constraints
$objectRootThe expected metadata of a shared link for a file or folder when a link is first created for the content. Absent if the link already exists.
access_levelJSONOptional
access_level (anyOf 1)ModelAlternativeExpand The current user mounts the designated folder — response body — access type
access_level (anyOf 2)nullAlternative
audience_optionsarrayRequired within parent
audience_options[]ModelEach itemExpand Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder current audience
audience_restricting_shared_folderJSONOptional
audience_restricting_shared_folder (anyOf 1)ModelAlternativeExpand Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder audience restricting shared folder audience, name, shared folder id
audience_restricting_shared_folder (anyOf 2)nullAlternative
current_audienceModelRequired within parentExpand Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder current audience
expiryJSONOptional
expiry (anyOf 1)stringAlternative
expiry (anyOf 2)nullAlternative
link_permissionsarrayRequired within parent
link_permissions[]ModelEach itemExpand Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder link permissions item
password_protectedbooleanRequired within parent

Referenced models: The current user mounts the designated folder — response body — access type, Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder audience restricting shared folder audience, name, shared folder id, Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder current audience, Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder link permissions item

Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder

FieldTypePresenceDescription and constraints
$objectRootMetadata of a shared link for a file or folder.
access_levelJSONOptional
access_level (anyOf 1)ModelAlternativeExpand The current user mounts the designated folder — response body — access type
access_level (anyOf 2)nullAlternative
audience_optionsarrayRequired within parent
audience_options[]ModelEach itemExpand Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder current audience
audience_restricting_shared_folderJSONOptional
audience_restricting_shared_folder (anyOf 1)ModelAlternativeExpand Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder audience restricting shared folder audience, name, shared folder id
audience_restricting_shared_folder (anyOf 2)nullAlternative
current_audienceModelRequired within parentExpand Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder current audience
expiryJSONOptional
expiry (anyOf 1)stringAlternative
expiry (anyOf 2)nullAlternative
link_permissionsarrayRequired within parent
link_permissions[]ModelEach itemExpand Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder link permissions item
password_protectedbooleanRequired within parent
audience_exceptionsJSONOptional
audience_exceptions (anyOf 1)ModelAlternativeExpand Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder audience exceptions count, exceptions
audience_exceptions (anyOf 2)nullAlternative
urlstringRequired within parent

Referenced models: The current user mounts the designated folder — response body — access type, Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder audience exceptions count, exceptions, Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder audience restricting shared folder audience, name, shared folder id, Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder current audience, Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder link permissions item

Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder audience exceptions count, exceptions

FieldTypePresenceDescription and constraints
$objectRootThe total count and truncated list of information of content inside this folder that has a different audience than the link on this folder. This is only returned for folders.
countJSONRequired within parent
count (anyOf 1)integerAlternativeMinimum: 0
count (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
exceptionsarrayRequired within parent
exceptions[]ModelEach itemExpand Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder audience exceptions count, exceptions exceptions item

Referenced models: Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder audience exceptions count, exceptions exceptions item

Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder audience exceptions count, exceptions exceptions item

FieldTypePresenceDescription and constraints
$objectRootInformation about the content that has a link audience different than that of this folder.
namestringRequired within parent

Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder audience restricting shared folder audience, name, shared folder id

FieldTypePresenceDescription and constraints
$objectRootInformation about the shared folder that prevents the link audience for this link from being more restrictive.
shared_folder_idstringRequired within parentPattern: ^(?:[-_0-9a-zA-Z:]+)$
namestringRequired within parent
audienceModelRequired within parentExpand Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder current audience

Referenced models: Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder current audience

Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder current audience

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)stringAlternativeKnown values: public, team, no_one, password, members, public_logged_in_only
$ (anyOf 2)objectAlternative
$ (anyOf 2)..tagstringRequired within parentMust equal: public
$ (anyOf 3)objectAlternative
$ (anyOf 3)..tagstringRequired within parentMust equal: team
$ (anyOf 4)objectAlternative
$ (anyOf 4)..tagstringRequired within parentMust equal: no_one
$ (anyOf 5)objectAlternative
$ (anyOf 5)..tagstringRequired within parentMust equal: password
$ (anyOf 6)objectAlternative
$ (anyOf 6)..tagstringRequired within parentMust equal: members
$ (anyOf 7)objectAlternative
$ (anyOf 7)..tagstringRequired within parentMust equal: public_logged_in_only
$ (anyOf 8)objectAlternativeA tag this contract version does not list (Dropbox's other).
$ (anyOf 8)..tagstringRequired within parentPattern: ^(?!(?:public|team|no_one|password|members|public_logged_in_only)$)

Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder link permissions item

FieldTypePresenceDescription and constraints
$objectRootPermissions for actions that can be performed on a link.
actionModelRequired within parentExpand Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder link permissions item action
allowbooleanRequired within parent
reasonJSONOptional
reason (anyOf 1)ModelAlternativeExpand Update the viewer info policy of a file — response body — permissions array item reason Possible reasons the user is denied a permission
reason (anyOf 2)nullAlternative

Referenced models: Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder link permissions item action, Update the viewer info policy of a file — response body — permissions array item reason Possible reasons the user is denied a permission

Update the viewer info policy of a file — response body — link metadata Metadata of a shared link for a file or folder link permissions item action

FieldTypePresenceDescription and constraints
$JSONRootActions that can be performed on a link.
$ (anyOf 1)stringAlternativeKnown values: change_access_level, change_audience, remove_expiry, remove_password, set_expiry, set_password
$ (anyOf 2)objectAlternative
$ (anyOf 2)..tagstringRequired within parentMust equal: change_access_level
$ (anyOf 3)objectAlternative
$ (anyOf 3)..tagstringRequired within parentMust equal: change_audience
$ (anyOf 4)objectAlternative
$ (anyOf 4)..tagstringRequired within parentMust equal: remove_expiry
$ (anyOf 5)objectAlternative
$ (anyOf 5)..tagstringRequired within parentMust equal: remove_password
$ (anyOf 6)objectAlternative
$ (anyOf 6)..tagstringRequired within parentMust equal: set_expiry
$ (anyOf 7)objectAlternative
$ (anyOf 7)..tagstringRequired within parentMust equal: set_password
$ (anyOf 8)objectAlternativeA tag this contract version does not list (Dropbox's other).
$ (anyOf 8)..tagstringRequired within parentPattern: ^(?!(?:change_access_level|change_audience|remove_expiry|remove_password|set_expiry|set_password)$)

Update the viewer info policy of a file — response body — owner team Information about a team

FieldTypePresenceDescription and constraints
$objectRootInformation about a team.
idstringRequired within parent
namestringRequired within parent

Update the viewer info policy of a file — response body — permissions array item

FieldTypePresenceDescription and constraints
$objectRootWhether the user is allowed to take the sharing action on the file.
actionModelRequired within parentExpand Update the viewer info policy of a file — response body — permissions array item action
allowbooleanRequired within parent
reasonJSONOptional
reason (anyOf 1)ModelAlternativeExpand Update the viewer info policy of a file — response body — permissions array item reason Possible reasons the user is denied a permission
reason (anyOf 2)nullAlternative

Referenced models: Update the viewer info policy of a file — response body — permissions array item action, Update the viewer info policy of a file — response body — permissions array item reason Possible reasons the user is denied a permission

Update the viewer info policy of a file — response body — permissions array item action

FieldTypePresenceDescription and constraints
$JSONRootSharing actions that may be taken on files.
$ (anyOf 1)stringAlternativeKnown values: disable_viewer_info, edit_contents, enable_viewer_info, invite_viewer, invite_viewer_no_comment, invite_editor, unshare, relinquish_membership, share_link, create_link, create_view_link, create_edit_link
$ (anyOf 2)objectAlternative
$ (anyOf 2)..tagstringRequired within parentMust equal: disable_viewer_info
$ (anyOf 3)objectAlternative
$ (anyOf 3)..tagstringRequired within parentMust equal: edit_contents
$ (anyOf 4)objectAlternative
$ (anyOf 4)..tagstringRequired within parentMust equal: enable_viewer_info
$ (anyOf 5)objectAlternative
$ (anyOf 5)..tagstringRequired within parentMust equal: invite_viewer
$ (anyOf 6)objectAlternative
$ (anyOf 6)..tagstringRequired within parentMust equal: invite_viewer_no_comment
$ (anyOf 7)objectAlternative
$ (anyOf 7)..tagstringRequired within parentMust equal: invite_editor
$ (anyOf 8)objectAlternative
$ (anyOf 8)..tagstringRequired within parentMust equal: unshare
$ (anyOf 9)objectAlternative
$ (anyOf 9)..tagstringRequired within parentMust equal: relinquish_membership
$ (anyOf 10)objectAlternative
$ (anyOf 10)..tagstringRequired within parentMust equal: share_link
$ (anyOf 11)objectAlternative
$ (anyOf 11)..tagstringRequired within parentMust equal: create_link
$ (anyOf 12)objectAlternative
$ (anyOf 12)..tagstringRequired within parentMust equal: create_view_link
$ (anyOf 13)objectAlternative
$ (anyOf 13)..tagstringRequired within parentMust equal: create_edit_link
$ (anyOf 14)objectAlternativeA tag this contract version does not list (Dropbox's other).
$ (anyOf 14)..tagstringRequired within parentPattern: ^(?!(?:disable_viewer_info|edit_contents|enable_viewer_info|invite_viewer|invite_viewer_no_comment|invite_editor|unshare|relinquish_membership|share_link|create_link|create_view_link|create_edit_link)$)

Update the viewer info policy of a file — response body — permissions array item reason Possible reasons the user is denied a permission

FieldTypePresenceDescription and constraints
$JSONRootPossible reasons the user is denied a permission.
$ (anyOf 1)stringAlternativeKnown values: user_not_same_team_as_owner, user_not_allowed_by_owner, target_is_indirect_member, target_is_owner, target_is_self, target_not_active, folder_is_limited_team_folder, owner_not_on_team, permission_denied, restricted_by_team, user_account_type, user_not_on_team, folder_is_inside_shared_folder, restricted_by_parent_folder
$ (anyOf 2)objectAlternative
$ (anyOf 2)..tagstringRequired within parentMust equal: user_not_same_team_as_owner
$ (anyOf 3)objectAlternative
$ (anyOf 3)..tagstringRequired within parentMust equal: user_not_allowed_by_owner
$ (anyOf 4)objectAlternative
$ (anyOf 4)..tagstringRequired within parentMust equal: target_is_indirect_member
$ (anyOf 5)objectAlternative
$ (anyOf 5)..tagstringRequired within parentMust equal: target_is_owner
$ (anyOf 6)objectAlternative
$ (anyOf 6)..tagstringRequired within parentMust equal: target_is_self
$ (anyOf 7)objectAlternative
$ (anyOf 7)..tagstringRequired within parentMust equal: target_not_active
$ (anyOf 8)objectAlternative
$ (anyOf 8)..tagstringRequired within parentMust equal: folder_is_limited_team_folder
$ (anyOf 9)objectAlternative
$ (anyOf 9)..tagstringRequired within parentMust equal: owner_not_on_team
$ (anyOf 10)objectAlternative
$ (anyOf 10)..tagstringRequired within parentMust equal: permission_denied
$ (anyOf 11)objectAlternative
$ (anyOf 11)..tagstringRequired within parentMust equal: restricted_by_team
$ (anyOf 12)objectAlternative
$ (anyOf 12)..tagstringRequired within parentMust equal: user_account_type
$ (anyOf 13)objectAlternative
$ (anyOf 13)..tagstringRequired within parentMust equal: user_not_on_team
$ (anyOf 14)objectAlternative
$ (anyOf 14)..tagstringRequired within parentMust equal: folder_is_inside_shared_folder
$ (anyOf 15)objectAlternative
$ (anyOf 15)..tagstringRequired within parentMust equal: restricted_by_parent_folder
$ (anyOf 16)objectAlternative
$ (anyOf 16)..tagstringRequired within parentMust equal: insufficient_plan
$ (anyOf 16).messagestringRequired within parent
$ (anyOf 16).upsell_urlJSONOptional
$ (anyOf 16).upsell_url (anyOf 1)stringAlternative
$ (anyOf 16).upsell_url (anyOf 2)nullAlternative
$ (anyOf 17)ModelAlternativeExpand Update the viewer info policy of a file — response body — permissions array item reason Possible reasons the user is denied a permission tag

Referenced models: Update the viewer info policy of a file — response body — permissions array item reason Possible reasons the user is denied a permission tag

Update the viewer info policy of a file — response body — permissions array item reason Possible reasons the user is denied a permission tag

FieldTypePresenceDescription and constraints
$objectRootA tag this contract version does not list (Dropbox's other).
.tagstringRequired within parentPattern: ^(?!(?:user_not_same_team_as_owner|user_not_allowed_by_owner|target_is_indirect_member|target_is_owner|target_is_self|target_not_active|folder_is_limited_team_folder|owner_not_on_team|permission_denied|restricted_by_team|user_account_type|user_not_on_team|folder_is_inside_shared_folder|restricted_by_parent_folder|insufficient_plan)$)

Update the viewer info policy of a file — response body — policy

FieldTypePresenceDescription and constraints
$objectRootA set of policies governing membership and privileges for a shared folder.
member_policyJSONOptional
member_policy (anyOf 1)ModelAlternativeExpand Update the viewer info policy of a file — response body — policy member policy value
member_policy (anyOf 2)nullAlternative
resolved_member_policyJSONOptional
resolved_member_policy (anyOf 1)ModelAlternativeExpand Update the viewer info policy of a file — response body — policy member policy value
resolved_member_policy (anyOf 2)nullAlternative
acl_update_policyModelRequired within parentExpand Update the viewer info policy of a file — response body — policy acl update policy
shared_link_policyModelRequired within parentExpand Update the viewer info policy of a file — response body — policy shared link policy
viewer_info_policyJSONOptional
viewer_info_policy (anyOf 1)ModelAlternativeExpand Update the viewer info policy of a file — response body — policy viewer info policy value
viewer_info_policy (anyOf 2)nullAlternative

Referenced models: Update the viewer info policy of a file — response body — policy acl update policy, Update the viewer info policy of a file — response body — policy member policy value, Update the viewer info policy of a file — response body — policy shared link policy, Update the viewer info policy of a file — response body — policy viewer info policy value

Update the viewer info policy of a file — response body — policy acl update policy

FieldTypePresenceDescription and constraints
$JSONRootWho can change a shared folder's access control list (ACL). In other words, who can add, remove, or change the privileges of members.
$ (anyOf 1)stringAlternativeKnown values: owner, editors
$ (anyOf 2)objectAlternative
$ (anyOf 2)..tagstringRequired within parentMust equal: owner
$ (anyOf 3)objectAlternative
$ (anyOf 3)..tagstringRequired within parentMust equal: editors
$ (anyOf 4)objectAlternativeA tag this contract version does not list (Dropbox's other).
$ (anyOf 4)..tagstringRequired within parentPattern: ^(?!(?:owner|editors)$)

Update the viewer info policy of a file — response body — policy member policy value

FieldTypePresenceDescription and constraints
$JSONRootPolicy governing who can be a member of a shared folder. Only applicable to folders owned by a user on a team.
$ (anyOf 1)stringAlternativeKnown values: team, anyone, team_and_approved
$ (anyOf 2)objectAlternative
$ (anyOf 2)..tagstringRequired within parentMust equal: team
$ (anyOf 3)objectAlternative
$ (anyOf 3)..tagstringRequired within parentMust equal: anyone
$ (anyOf 4)objectAlternative
$ (anyOf 4)..tagstringRequired within parentMust equal: team_and_approved
$ (anyOf 5)objectAlternativeA tag this contract version does not list (Dropbox's other).
$ (anyOf 5)..tagstringRequired within parentPattern: ^(?!(?:team|anyone|team_and_approved)$)

Update the viewer info policy of a file — response body — policy shared link policy

FieldTypePresenceDescription and constraints
$JSONRootWho can view shared links in this folder.
$ (anyOf 1)stringAlternativeKnown values: anyone, team, members
$ (anyOf 2)objectAlternative
$ (anyOf 2)..tagstringRequired within parentMust equal: anyone
$ (anyOf 3)objectAlternative
$ (anyOf 3)..tagstringRequired within parentMust equal: team
$ (anyOf 4)objectAlternative
$ (anyOf 4)..tagstringRequired within parentMust equal: members
$ (anyOf 5)objectAlternativeA tag this contract version does not list (Dropbox's other).
$ (anyOf 5)..tagstringRequired within parentPattern: ^(?!(?:anyone|team|members)$)

Update the viewer info policy of a file — response body — policy viewer info policy value

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)stringAlternativeKnown values: enabled, disabled
$ (anyOf 2)objectAlternative
$ (anyOf 2)..tagstringRequired within parentMust equal: enabled
$ (anyOf 3)objectAlternative
$ (anyOf 3)..tagstringRequired within parentMust equal: disabled
$ (anyOf 4)objectAlternativeA tag this contract version does not list (Dropbox's other).
$ (anyOf 4)..tagstringRequired within parentPattern: ^(?!(?:enabled|disabled)$)

Use to obtain the members who have been invited to a file, both inherited and uninherited members — request body — body

FieldTypePresenceDescription and constraints
$objectRootArguments for list_file_members.
filestringRequired within parentMinimum length: 1
Pattern: ^(?:((\/|id:).*|nspath:[0-9]+:.*)|ns:[0-9]+(/.*)?)$
actionsJSONOptional
actions (anyOf 1)arrayAlternative
actions (anyOf 1)[]ModelEach itemExpand Returns shared folder membership by its folder ID — request body — body actions array item
actions (anyOf 2)nullAlternative
include_inheritedbooleanOptional
limitintegerOptionalMinimum: 1
Maximum: 300

Referenced models: Returns shared folder membership by its folder ID — request body — body actions array item

Use to obtain the members who have been invited to a file, both inherited and uninherited members — response body

FieldTypePresenceDescription and constraints
$objectRootShared file user, group, and invitee membership. Used for the results of list_file_members and list_file_members/continue, and used as part of the results for list_file_members/batch.
usersarrayRequired within parent
users[]ModelEach itemExpand Use to obtain the members who have been invited to a file, both inherited and uninherited members — response body — users item
groupsarrayRequired within parent
groups[]ModelEach itemExpand Returns shared folder membership by its folder ID — response body — groups item
inviteesarrayRequired within parent
invitees[]ModelEach itemExpand Returns shared folder membership by its folder ID — response body — invitees item
cursorJSONOptional
cursor (anyOf 1)stringAlternative
cursor (anyOf 2)nullAlternative

Referenced models: Returns shared folder membership by its folder ID — response body — groups item, Returns shared folder membership by its folder ID — response body — invitees item, Use to obtain the members who have been invited to a file, both inherited and uninherited members — response body — users item

Use to obtain the members who have been invited to a file, both inherited and uninherited members — response body — users item

FieldTypePresenceDescription and constraints
$objectRootThe information about a user member of the shared content with an appended last seen timestamp.
access_typeModelRequired within parentExpand The current user mounts the designated folder — response body — access type
permissionsJSONOptional
permissions (anyOf 1)arrayAlternative
permissions (anyOf 1)[]ModelEach itemExpand Returns shared folder membership by its folder ID — response body — users item permissions array item
permissions (anyOf 2)nullAlternative
initialsJSONOptional
initials (anyOf 1)stringAlternative
initials (anyOf 2)nullAlternative
is_inheritedbooleanOptional
inherited_access_typeJSONOptional
inherited_access_type (anyOf 1)ModelAlternativeExpand The current user mounts the designated folder — response body — access type
inherited_access_type (anyOf 2)nullAlternative
userModelRequired within parentExpand Returns shared folder membership by its folder ID — response body — users item user
time_last_seenJSONOptional
time_last_seen (anyOf 1)stringAlternative
time_last_seen (anyOf 2)nullAlternative
platform_typeJSONOptional
platform_type (anyOf 1)ModelAlternativeExpand Use to obtain the members who have been invited to a file, both inherited and uninherited members — response body — users item platform type value
platform_type (anyOf 2)nullAlternative

Referenced models: Use to obtain the members who have been invited to a file, both inherited and uninherited members — response body — users item platform type value, The current user mounts the designated folder — response body — access type, Returns shared folder membership by its folder ID — response body — users item permissions array item, Returns shared folder membership by its folder ID — response body — users item user

Use to obtain the members who have been invited to a file, both inherited and uninherited members — response body — users item platform type value

FieldTypePresenceDescription and constraints
$JSONRootPossible platforms on which a user may view content.
$ (anyOf 1)stringAlternativeKnown values: web, desktop, mobile_ios, mobile_android, api, unknown, mobile
$ (anyOf 2)objectAlternative
$ (anyOf 2)..tagstringRequired within parentMust equal: web
$ (anyOf 3)objectAlternative
$ (anyOf 3)..tagstringRequired within parentMust equal: desktop
$ (anyOf 4)objectAlternative
$ (anyOf 4)..tagstringRequired within parentMust equal: mobile_ios
$ (anyOf 5)objectAlternative
$ (anyOf 5)..tagstringRequired within parentMust equal: mobile_android
$ (anyOf 6)objectAlternative
$ (anyOf 6)..tagstringRequired within parentMust equal: api
$ (anyOf 7)objectAlternative
$ (anyOf 7)..tagstringRequired within parentMust equal: unknown
$ (anyOf 8)objectAlternative
$ (anyOf 8)..tagstringRequired within parentMust equal: mobile
$ (anyOf 9)objectAlternativeA tag this contract version does not list (Dropbox's other).
$ (anyOf 9)..tagstringRequired within parentPattern: ^(?!(?:web|desktop|mobile_ios|mobile_android|api|unknown|mobile)$)

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.