Note: The Audit log endpoint is not yet available in the Dropbox Business API v2. This endpoint will continue to be available and maintained in the Dropbox Business API v1.
The Dropbox Business API allows apps to manage the user lifecycle for a Dropbox Business account and perform API actions on all members of a team. It also gives apps programmatic access to Dropbox Business admin functionality.
There are four different access types of Dropbox Business API permissions. You should only request access to the minimum set of permissions that your app requires:
To create a Dropbox Business app, visit the app creation page.
Developers will need to direct a Dropbox Business team administrator through the standard OAuth 2.0 flow to install their application on a Dropbox Business team. The OAuth response/redirect will include an additional team_id field that can be used to uniquely identify a team.
Dropbox Business API OAuth tokens can enable extensive access to team data, so it is your responsibility to properly secure them server-side. They should never be cached in insecure environments or downloaded to client devices.
A Dropbox Business app can make calls to the Dropbox API for any member of the Dropbox Business team. Your app must have Team member file access permission.
To make calls on a member's behalf, use the OAuth token granted to the app by the team. Specify the member_id of the user that the app wants to act on using a custom HTTP header called Dropbox-API-Select-User.
Notes:
/files/list_folder/continue.An additional error may occur when using Dropbox-API-Select-User:
An alternative and advanced method for Business API apps to access and perform operations on team-owned content is to use the Dropbox-API-Select-Admin HTTP header instead of Dropbox-API-Select-User.
There are a several key differences between the two:
First, both headers specify the member_id of a team member in their values, but for Dropbox-API-Select-Admin this must refer to a team admin rather than an arbitrary member.
Second, Dropbox-API-Select-User allows access to and operations on content that currently exists in the "selected" team member's Dropbox. This includes their private files and folders as well as contents of any shared or team folders they not only have access to but also have added to their Dropbox (i.e. "mounted" in API terms).
In contrast, Dropbox-API-Select-Admin allows access to and operations on any team-owned content. This includes any team member's private files and folders as well as contents of any shared folders owned by a member of the team and team folders. In particular, the team admin being impersonated doesn't have to have the target content in their Dropbox and doesn't have to be in the membership of any shared or team folders the content might reside in.
Therefore Dropbox-API-Select-Admin header is particularly useful for accessing content that might not exist in any team member's Dropbox. An example of this is a shared folder that has been deleted from the Dropbox accounts of all team members that have access to it. Another example is a team folder that has no groups associated with it.
Since traditional logical paths in Dropbox must refer to mounted content, the endpoints that support the Dropbox-API-Select-Admin header accept namespace-relative paths. These take the format of ns:<namespace_id><namespace_path>, where <namespace_id> is the shared_folder_id or team_folder_id of the shared folder or the team folder containing the file or folder, respectively, and <namespace_path> is the logical path to the content relative to its shared folder or team folder container.
For example, let's say your app is trying to retrieve metadata associated with cupcake.png in the shared folder Images with shared_folder_id 123456. Let's imagine Dan, the designer, is a collaborator on Images and has added this shared folder to their Dropbox, mounting it inside top-level folder Design (/Design/Images). The traditional method for an app with team member file access to retrieve metadata for cupcake.png would be to call files/get_metadata while impersonating Dan by his member_id and passing in the logical path /Design/Images/cupcake.png. However, the traditional method would fail if Dan were to remove Images from his Dropbox. Calling files/get_metadata while impersonating a team admin with the Dropbox-API-Select-Admin header, and passing in the namespace-relative path, ns:123456/cupcake.png would circumvent this issue, even if that team admin is not a member of Images.
While a namespace-relative path can be used with the Dropbox-API-Select-User header, the shared or team folder it specifies must be mounted in the Dropbox of the team member "selected" by the header.
Note that not all User API endpoints support the Dropbox-API-Select-Admin header. Here is a list of those that do:
files/get_metadatafiles/list_folderfiles/list_revisionsfiles/restorefiles/uploadfiles/upload_sessionfiles/copyfiles/create_folderfiles/deletefiles/downloadfiles/get_previewfiles/get_temporary_linkfiles/get_thumbnailfiles/moveWhen first created, an app will be in "Development" mode, which means it will only be able to link to a single team. You can enable up to 5 additional development teams from your app's info page on the App Console by clicking Enable additional teams. When you are ready to exit development and deploy your app more broadly, you will need to apply for Production status.
Dropbox Business API apps that have specified a webhook URL in the App Console will receive change notifications for the team. There are two classes of change notifications, each associated with different permissions.
Apps with the Team member file access permission will receive per-user webhook notifications from all members of the team. The webhook notification contains a list of all member_ids that have changes within their account. This is similar to the Dropbox API webhooks behavior.
For Team member file access notifications, your endpoint will receive JSON with the following format:
{
"list_folder": {
"teams": {
"team_id1": [
"member_id1",
"member_id2",
...
],
"team_id2": [
"member_id1",
"member_id2",
...
],
...
}
},
"delta": {
"teams": {
"team_id1": [
"member_id1",
"member_id2",
...
],
"team_id2": [
"member_id1",
"member_id2",
...
],
...
}
}
}
Note that a single change to a file in a shared folder will trigger a webhook for each user that the folder is shared with (and will also show up in the /list_folder entries for each account). You may want to track these occurrences to avoid re-processing the same file multiple times. One possible method would be to track a combination of the (unique) shared folder ID, file path, and rev for a file to identify if it is the same as a previously-processed change. Files outside a shared folder don't have this concern.
Apps with Team member management or Team member file access permissions will receive webhook notifications for changes to the team membership. This type of notification will be triggered in the following cases:
For Team change notifications, your endpoint will receive JSON with the following format:
{
"team_events": [
{
"event": "member_info_change",
"team_id": "team_id1",
"member_ids": [
"member_id1",
"member_id2",
...
]
},
...
]
}
List all device sessions of a team's member.
https://api.dropboxapi.com/2/team/devices/list_member_devices
curl -X POST https://api.dropboxapi.com/2/team/devices/list_member_devices \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"team_member_id\": \"dbmid:AAFdgehTzw7WlXhZJsbGCLePe8RvQGYDr-I\",\"include_web_sessions\": true,\"include_desktop_clients\": true,\"include_mobile_clients\": true}"
{
"team_member_id": "dbmid:AAFdgehTzw7WlXhZJsbGCLePe8RvQGYDr-I",
"include_web_sessions": true,
"include_desktop_clients": true,
"include_mobile_clients": true
}team_member_id String The team's member id
include_web_sessions Boolean Whether to list web sessions of the team's member The default for this field is True.
include_desktop_clients Boolean Whether to list linked desktop devices of the team's member The default for this field is True.
include_mobile_clients Boolean Whether to list linked mobile devices of the team's member The default for this field is True.
active_web_sessions List of (ActiveWebSession)? List of web sessions made by this team member This field is optional.session_id String The session id
user_agent String Information on the hosting device
os String Information on the hosting operating system
browser String Information on the browser used for this web session
ip_address String? The IP address of the last activity from this session This field is optional.
country String? The country from which the last activity from this session was made This field is optional.
created Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time this session was created This field is optional.
updated Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time of the last activity from this session This field is optional.
desktop_client_sessions List of (DesktopClientSession)? List of desktop clients used by this team member This field is optional.session_id String The session id
host_name String Name of the hosting desktop
client_type DesktopPlatform The Dropbox desktop client typewindows Void Official Windows Dropbox desktop client
mac Void Official Mac Dropbox desktop client
linux Void Official Linux Dropbox desktop client
client_version String The Dropbox client version
platform String Information on the hosting platform
is_delete_on_unlink_supported Boolean Whether it's possible to delete all of the account files upon unlinking
ip_address String? The IP address of the last activity from this session This field is optional.
country String? The country from which the last activity from this session was made This field is optional.
created Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time this session was created This field is optional.
updated Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time of the last activity from this session This field is optional.
mobile_client_sessions List of (MobileClientSession)? List of mobile client used by this team member This field is optional.session_id String The session id
device_name String The device name
client_type MobileClientPlatform The mobile application typeiphone Void Official Dropbox iPhone client
ipad Void Official Dropbox iPad client
android Void Official Dropbox Android client
windows_phone Void Official Dropbox Windows phone client
blackberry Void Official Dropbox Blackberry client
ip_address String? The IP address of the last activity from this session This field is optional.
country String? The country from which the last activity from this session was made This field is optional.
created Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time this session was created This field is optional.
updated Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time of the last activity from this session This field is optional.
client_version String? The dropbox client version This field is optional.
os_version String? The hosting OS version This field is optional.
last_carrier String? last carrier used by the device This field is optional.
{
"error_summary": "member_not_found/...",
"error": {
".tag": "member_not_found"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}member_not_found Void Member not found.
List all device sessions of a team.
https://api.dropboxapi.com/2/team/devices/list_members_devices
cursor String? At the first call to the devices/list_members_devices the cursor shouldn't be passed. Then, if the result of the call includes a cursor, the following requests should include the received cursors in order to receive the next sub list of team devices This field is optional.
include_web_sessions Boolean Whether to list web sessions of the team members The default for this field is True.
include_desktop_clients Boolean Whether to list desktop clients of the team members The default for this field is True.
include_mobile_clients Boolean Whether to list mobile clients of the team members The default for this field is True.
devices List of (MemberDevices) The devices of each member of the teamteam_member_id String The member unique Id
web_sessions List of (ActiveWebSession)? List of web sessions made by this team member This field is optional.session_id String The session id
user_agent String Information on the hosting device
os String Information on the hosting operating system
browser String Information on the browser used for this web session
ip_address String? The IP address of the last activity from this session This field is optional.
country String? The country from which the last activity from this session was made This field is optional.
created Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time this session was created This field is optional.
updated Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time of the last activity from this session This field is optional.
desktop_clients List of (DesktopClientSession)? List of desktop clients by this team member This field is optional.session_id String The session id
host_name String Name of the hosting desktop
client_type DesktopPlatform The Dropbox desktop client typewindows Void Official Windows Dropbox desktop client
mac Void Official Mac Dropbox desktop client
linux Void Official Linux Dropbox desktop client
client_version String The Dropbox client version
platform String Information on the hosting platform
is_delete_on_unlink_supported Boolean Whether it's possible to delete all of the account files upon unlinking
ip_address String? The IP address of the last activity from this session This field is optional.
country String? The country from which the last activity from this session was made This field is optional.
created Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time this session was created This field is optional.
updated Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time of the last activity from this session This field is optional.
mobile_clients List of (MobileClientSession)? List of mobile clients by this team member This field is optional.session_id String The session id
device_name String The device name
client_type MobileClientPlatform The mobile application typeiphone Void Official Dropbox iPhone client
ipad Void Official Dropbox iPad client
android Void Official Dropbox Android client
windows_phone Void Official Dropbox Windows phone client
blackberry Void Official Dropbox Blackberry client
ip_address String? The IP address of the last activity from this session This field is optional.
country String? The country from which the last activity from this session was made This field is optional.
created Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time this session was created This field is optional.
updated Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time of the last activity from this session This field is optional.
client_version String? The dropbox client version This field is optional.
os_version String? The hosting OS version This field is optional.
last_carrier String? last carrier used by the device This field is optional.
has_more Boolean If true, then there are more devices available. Pass the cursor to devices/list_members_devices to retrieve the rest.
cursor String? Pass the cursor into devices/list_members_devices to receive the next sub list of team's devices. This field is optional.
{
"error_summary": "reset/...",
"error": {
".tag": "reset"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}reset Void Indicates that the cursor has been invalidated. Call devices/list_members_devices again with an empty cursor to obtain a new cursor.
List all device sessions of a team.
https://api.dropboxapi.com/2/team/devices/list_team_devices
cursor String? At the first call to the devices/list_team_devices the cursor shouldn't be passed. Then, if the result of the call includes a cursor, the following requests should include the received cursors in order to receive the next sub list of team devices This field is optional.
include_web_sessions Boolean Whether to list web sessions of the team members The default for this field is True.
include_desktop_clients Boolean Whether to list desktop clients of the team members The default for this field is True.
include_mobile_clients Boolean Whether to list mobile clients of the team members The default for this field is True.
devices List of (MemberDevices) The devices of each member of the teamteam_member_id String The member unique Id
web_sessions List of (ActiveWebSession)? List of web sessions made by this team member This field is optional.session_id String The session id
user_agent String Information on the hosting device
os String Information on the hosting operating system
browser String Information on the browser used for this web session
ip_address String? The IP address of the last activity from this session This field is optional.
country String? The country from which the last activity from this session was made This field is optional.
created Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time this session was created This field is optional.
updated Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time of the last activity from this session This field is optional.
desktop_clients List of (DesktopClientSession)? List of desktop clients by this team member This field is optional.session_id String The session id
host_name String Name of the hosting desktop
client_type DesktopPlatform The Dropbox desktop client typewindows Void Official Windows Dropbox desktop client
mac Void Official Mac Dropbox desktop client
linux Void Official Linux Dropbox desktop client
client_version String The Dropbox client version
platform String Information on the hosting platform
is_delete_on_unlink_supported Boolean Whether it's possible to delete all of the account files upon unlinking
ip_address String? The IP address of the last activity from this session This field is optional.
country String? The country from which the last activity from this session was made This field is optional.
created Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time this session was created This field is optional.
updated Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time of the last activity from this session This field is optional.
mobile_clients List of (MobileClientSession)? List of mobile clients by this team member This field is optional.session_id String The session id
device_name String The device name
client_type MobileClientPlatform The mobile application typeiphone Void Official Dropbox iPhone client
ipad Void Official Dropbox iPad client
android Void Official Dropbox Android client
windows_phone Void Official Dropbox Windows phone client
blackberry Void Official Dropbox Blackberry client
ip_address String? The IP address of the last activity from this session This field is optional.
country String? The country from which the last activity from this session was made This field is optional.
created Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time this session was created This field is optional.
updated Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time of the last activity from this session This field is optional.
client_version String? The dropbox client version This field is optional.
os_version String? The hosting OS version This field is optional.
last_carrier String? last carrier used by the device This field is optional.
has_more Boolean If true, then there are more devices available. Pass the cursor to devices/list_team_devices to retrieve the rest.
cursor String? Pass the cursor into devices/list_team_devices to receive the next sub list of team's devices. This field is optional.
{
"error_summary": "reset/...",
"error": {
".tag": "reset"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}reset Void Indicates that the cursor has been invalidated. Call devices/list_team_devices again with an empty cursor to obtain a new cursor.
Revoke a device session of a team's member
https://api.dropboxapi.com/2/team/devices/revoke_device_session
web_session DeviceSessionArg End an active sessionsession_id String The session id
team_member_id String The unique id of the member owning the device
desktop_client RevokeDesktopClientArg Unlink a linked desktop devicesession_id String The session id
team_member_id String The unique id of the member owning the device
delete_on_unlink Boolean Whether to delete all files of the account (this is possible only if supported by the desktop client and will be made the next time the client access the account) The default for this field is False.
mobile_client DeviceSessionArg Unlink a linked mobile devicesession_id String The session id
team_member_id String The unique id of the member owning the device
No return values.
{
"error_summary": "device_session_not_found/...",
"error": {
".tag": "device_session_not_found"
}
}
{
"error_summary": "member_not_found/...",
"error": {
".tag": "member_not_found"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}device_session_not_found Void Device session not found.
member_not_found Void Member not found.
Revoke a list of device sessions of team members
https://api.dropboxapi.com/2/team/devices/revoke_device_session_batch
revoke_devices List of (RevokeDeviceSessionArg) web_session DeviceSessionArg End an active sessionsession_id String The session id
team_member_id String The unique id of the member owning the device
desktop_client RevokeDesktopClientArg Unlink a linked desktop devicesession_id String The session id
team_member_id String The unique id of the member owning the device
delete_on_unlink Boolean Whether to delete all files of the account (this is possible only if supported by the desktop client and will be made the next time the client access the account) The default for this field is False.
mobile_client DeviceSessionArg Unlink a linked mobile devicesession_id String The session id
team_member_id String The unique id of the member owning the device
revoke_devices_status List of (RevokeDeviceSessionStatus) success Boolean Result of the revoking request
error_type RevokeDeviceSessionError? The error cause in case of a failure This field is optional.device_session_not_found Void Device session not found.
member_not_found Void Member not found.
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}Retrieves information about a team.
https://api.dropboxapi.com/2/team/get_info
curl -X POST https://api.dropboxapi.com/2/team/get_info \
--header "Authorization: Bearer "
No parameters.
{
"name": "Dropbox Inc.",
"team_id": "dbtid:1234abcd",
"num_licensed_users": 5,
"num_provisioned_users": 2,
"policies": {
"sharing": {
"shared_folder_member_policy": {
".tag": "team"
},
"shared_folder_join_policy": {
".tag": "from_anyone"
},
"shared_link_create_policy": {
".tag": "team_only"
}
},
"emm_state": {
".tag": "disabled"
}
}
}name String The name of the team.
team_id String The ID of the team.
num_licensed_users UInt32 The number of licenses available to the team.
num_provisioned_users UInt32 The number of accounts that have been invited or are already active members of the team.
policies TeamMemberPolicies sharing TeamSharingPolicies Policies governing sharing.shared_link_create_policy SharedLinkCreatePolicy What is the visibility of newly created shared links.emm_state EmmState This describes the Enterprise Mobility Management (EMM) state for this team. This information can be used to understand if an organization is integrating with a third-party EMM vendor to further manage and apply restrictions upon the team's Dropbox usage on mobile devices. This is a new feature and in the future we'll be adding more new fields and additional documentation.disabled Void Emm token is disabled
optional Void Emm token is optional
required Void Emm token is required
No errors.
Creates a new, empty group, with a requested name.
Permission : Team member management
https://api.dropboxapi.com/2/team/groups/create
curl -X POST https://api.dropboxapi.com/2/team/groups/create \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"group_name\": \"Europe sales\",\"group_external_id\": \"group-134\"}"
{
"group_name": "Europe sales",
"group_external_id": "group-134"
}group_name String Group name.
group_external_id String? The creator of a team can associate an arbitrary external ID to the group. This field is optional.
group_management_type GroupManagementType? Whether the team can be managed by selected users, or only by team admins This field is optional.company_managed Void A group which is managed by team admins only.
user_managed Void A group which is managed by selected users.
{
"group_name": "project launch",
"group_id": "g:e2db7665347abcd600000000001a2b3c",
"group_management_type": {
".tag": "user_managed"
},
"created": 1447255518000,
"member_count": 5,
"members": [
{
"profile": {
"team_member_id": "dbmid:1234567",
"email": "mary@lamb.com",
"email_verified": true,
"status": {
".tag": "active"
},
"name": {
"given_name": "Franz",
"surname": "Ferdinand",
"familiar_name": "Franz",
"display_name": "Franz Ferdinand (Personal)",
"abbreviated_name": "FF"
},
"membership_type": {
".tag": "full"
},
"account_id": "dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc"
},
"access_type": {
".tag": "member"
}
}
]
}group_name String
group_id String
group_management_type GroupManagementType Who is allowed to manage the group.company_managed Void A group which is managed by team admins only.
user_managed Void A group which is managed by selected users.
created UInt64 The group creation time as a UTC timestamp in milliseconds since the Unix epoch.
group_external_id String? External ID of group. This is an arbitrary ID that an admin can attach to a group. This field is optional.
member_count UInt32? The number of members in the group. This field is optional.
members List of (GroupMemberInfo)? List of group members. This field is optional.profile MemberProfile Profile of group member.team_member_id String ID of user as a member of a team.
email String Email address of user.
email_verified Boolean Is true if the user's email is verified to be owned by the user.
status TeamMemberStatus The user's status as a member of a specific team.active Void User has successfully joined the team.
invited Void User has been invited to a team, but has not joined the team yet.
suspended Void User is no longer a member of the team, but the account can be un-suspended, re-establishing the user as a team member.
removed RemovedStatus User is no longer a member of the team. Removed users are only listed when include_removed is true in members/list.is_recoverable Boolean True if the removed team member is recoverable
name Name Representations for a person's name.given_name String Also known as a first name.
surname String Also known as a last name or family name.
familiar_name String Locale-dependent name. In the US, a person's familiar name is their given_name, but elsewhere, it could be any combination of a person's given_name and surname.
display_name String A name that can be used directly to represent the name of a user's Dropbox account.
abbreviated_name String An abbreviated form of the person's name. Their initials in most locales.
membership_type TeamMembershipType The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota).full Void User uses a license and has full access to team resources like the shared quota.
limited Void User does not have access to the shared quota and team admins have restricted administrative control.
external_id String? External ID that a team can attach to the user. An application using the API may find it easier to use their own IDs instead of Dropbox IDs like account_id or team_member_id. This field is optional.
account_id String(min_length=40, max_length=40)? A user's account identifier. This field is optional.
access_type GroupAccessType The role that the user has in the group.member Void User is a member of the group, but has no special permissions.
owner Void User can rename the group, and add/remove members.
{
"error_summary": "group_name_already_used/...",
"error": {
".tag": "group_name_already_used"
}
}
{
"error_summary": "group_name_invalid/...",
"error": {
".tag": "group_name_invalid"
}
}
{
"error_summary": "external_id_already_in_use/...",
"error": {
".tag": "external_id_already_in_use"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}group_name_already_used Void The requested group name is already being used by another group.
group_name_invalid Void Group name is empty or has invalid characters.
external_id_already_in_use Void The requested external ID is already being used by another group.
Deletes a group.
The group is deleted immediately. However the revoking of group-owned resources may take additional time. Use the groups/job_status/get to determine whether this process has completed.
Permission : Team member management
https://api.dropboxapi.com/2/team/groups/delete
curl -X POST https://api.dropboxapi.com/2/team/groups/delete \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\".tag\": \"group_id\",\"group_id\": \"g:e2db7665347abcd600000000001a2b3c\"}"
{
".tag": "group_id",
"group_id": "g:e2db7665347abcd600000000001a2b3c"
}group_id String Group ID.
group_external_id String External ID of the group.
{
".tag": "complete"
}
{
".tag": "async_job_id",
"async_job_id": "34g93hh34h04y384084"
}async_job_id String(min_length=1) This response indicates that the processing is asynchronous. The string is an id that can be used to obtain the status of the asynchronous job.
complete Void The job finished synchronously and successfully.
{
"error_summary": "group_not_found/...",
"error": {
".tag": "group_not_found"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}
{
"error_summary": "group_already_deleted/...",
"error": {
".tag": "group_already_deleted"
}
}group_not_found Void No matching group found. No groups match the specified group ID.
group_already_deleted Void This group has already been deleted.
Retrieves information about one or more groups.
Permission : Team Information
https://api.dropboxapi.com/2/team/groups/get_info
curl -X POST https://api.dropboxapi.com/2/team/groups/get_info \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\".tag\": \"group_ids\",\"group_ids\": [\"g:e2db7665347abcd600000000001a2b3c\",\"g:111111147abcd6000000000222222c\"]}"
{
".tag": "group_ids",
"group_ids": [
"g:e2db7665347abcd600000000001a2b3c",
"g:111111147abcd6000000000222222c"
]
}group_ids List of (String) List of group IDs.
group_external_ids List of (String) List of external IDs of groups.
id_not_found String An ID that was provided as a parameter to groups/get_info, and did not match a corresponding group. The ID can be a group ID, or an external ID, depending on how the method was called.
group_info GroupFullInfo Info about a group.group_name String
group_id String
group_management_type GroupManagementType Who is allowed to manage the group.company_managed Void A group which is managed by team admins only.
user_managed Void A group which is managed by selected users.
created UInt64 The group creation time as a UTC timestamp in milliseconds since the Unix epoch.
group_external_id String? External ID of group. This is an arbitrary ID that an admin can attach to a group. This field is optional.
member_count UInt32? The number of members in the group. This field is optional.
members List of (GroupMemberInfo)? List of group members. This field is optional.profile MemberProfile Profile of group member.team_member_id String ID of user as a member of a team.
email String Email address of user.
email_verified Boolean Is true if the user's email is verified to be owned by the user.
status TeamMemberStatus The user's status as a member of a specific team.active Void User has successfully joined the team.
invited Void User has been invited to a team, but has not joined the team yet.
suspended Void User is no longer a member of the team, but the account can be un-suspended, re-establishing the user as a team member.
removed RemovedStatus User is no longer a member of the team. Removed users are only listed when include_removed is true in members/list.is_recoverable Boolean True if the removed team member is recoverable
name Name Representations for a person's name.given_name String Also known as a first name.
surname String Also known as a last name or family name.
familiar_name String Locale-dependent name. In the US, a person's familiar name is their given_name, but elsewhere, it could be any combination of a person's given_name and surname.
display_name String A name that can be used directly to represent the name of a user's Dropbox account.
abbreviated_name String An abbreviated form of the person's name. Their initials in most locales.
membership_type TeamMembershipType The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota).full Void User uses a license and has full access to team resources like the shared quota.
limited Void User does not have access to the shared quota and team admins have restricted administrative control.
external_id String? External ID that a team can attach to the user. An application using the API may find it easier to use their own IDs instead of Dropbox IDs like account_id or team_member_id. This field is optional.
account_id String(min_length=40, max_length=40)? A user's account identifier. This field is optional.
access_type GroupAccessType The role that the user has in the group.member Void User is a member of the group, but has no special permissions.
owner Void User can rename the group, and add/remove members.
{
"error_summary": "group_not_on_team/...",
"error": {
".tag": "group_not_on_team"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}group_not_on_team Void The group is not on your team.
Once an async_job_id is returned from groups/delete, groups/members/add , or groups/members/remove use this method to poll the status of granting/revoking group members' access to group-owned resources.
Permission : Team member management
https://api.dropboxapi.com/2/team/groups/job_status/get
curl -X POST https://api.dropboxapi.com/2/team/groups/job_status/get \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"async_job_id\": \"34g93hh34h04y384084\"}"
{
"async_job_id": "34g93hh34h04y384084"
}async_job_id String(min_length=1) Id of the asynchronous job. This is the value of a response returned from the method that launched the job.
{
".tag": "complete"
}
{
".tag": "in_progress"
}in_progress Void The asynchronous job is still in progress.
complete Void The asynchronous job has completed successfully.
{
"error_summary": "invalid_async_job_id/...",
"error": {
".tag": "invalid_async_job_id"
}
}
{
"error_summary": "internal_error/...",
"error": {
".tag": "internal_error"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}
{
"error_summary": "access_denied/...",
"error": {
".tag": "access_denied"
}
}invalid_async_job_id Void The job ID is invalid.
internal_error Void Something went wrong with the job on Dropbox's end. You'll need to verify that the action you were taking succeeded, and if not, try again. This should happen very rarely.
access_denied Void You are not allowed to poll this job.
Lists groups on a team.
Permission : Team Information
https://api.dropboxapi.com/2/team/groups/list
curl -X POST https://api.dropboxapi.com/2/team/groups/list \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"limit\": 100}"
{
"limit": 100
}limit UInt32 Number of results to return per call. The default for this field is 1000.
{
"groups": [
{
"group_name": "Test group",
"group_id": "g:e2db7665347abcd600000000001a2b3c",
"group_management_type": {
".tag": "user_managed"
},
"member_count": 10
}
],
"cursor": "ZtkX9_EHj3x7PMkVuFIhwKYXEpwpLwyxp9vMKomUhllil9q7eWiAu",
"has_more": false
}groups List of (GroupSummary) group_name String
group_id String
group_management_type GroupManagementType Who is allowed to manage the group.company_managed Void A group which is managed by team admins only.
user_managed Void A group which is managed by selected users.
group_external_id String? External ID of group. This is an arbitrary ID that an admin can attach to a group. This field is optional.
member_count UInt32? The number of members in the group. This field is optional.
cursor String Pass the cursor into groups/list/continue to obtain the additional groups.
has_more Boolean Is true if there are additional groups that have not been returned yet. An additional call to groups/list/continue can retrieve them.
No errors.
Once a cursor has been retrieved from groups/list, use this to paginate through all groups.
Permission : Team information
https://api.dropboxapi.com/2/team/groups/list/continue
curl -X POST https://api.dropboxapi.com/2/team/groups/list/continue \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"cursor\": \"ZtkX9_EHj3x7PMkVuFIhwKYXEpwpLwyxp9vMKomUhllil9q7eWiAu\"}"
{
"cursor": "ZtkX9_EHj3x7PMkVuFIhwKYXEpwpLwyxp9vMKomUhllil9q7eWiAu"
}cursor String Indicates from what point to get the next set of groups.
{
"groups": [
{
"group_name": "Test group",
"group_id": "g:e2db7665347abcd600000000001a2b3c",
"group_management_type": {
".tag": "user_managed"
},
"member_count": 10
}
],
"cursor": "ZtkX9_EHj3x7PMkVuFIhwKYXEpwpLwyxp9vMKomUhllil9q7eWiAu",
"has_more": false
}groups List of (GroupSummary) group_name String
group_id String
group_management_type GroupManagementType Who is allowed to manage the group.company_managed Void A group which is managed by team admins only.
user_managed Void A group which is managed by selected users.
group_external_id String? External ID of group. This is an arbitrary ID that an admin can attach to a group. This field is optional.
member_count UInt32? The number of members in the group. This field is optional.
cursor String Pass the cursor into groups/list/continue to obtain the additional groups.
has_more Boolean Is true if there are additional groups that have not been returned yet. An additional call to groups/list/continue can retrieve them.
{
"error_summary": "invalid_cursor/...",
"error": {
".tag": "invalid_cursor"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}invalid_cursor Void The cursor is invalid.
Adds members to a group.
The members are added immediately. However the granting of group-owned resources may take additional time. Use the groups/job_status/get to determine whether this process has completed.
Permission : Team member management
https://api.dropboxapi.com/2/team/groups/members/add
curl -X POST https://api.dropboxapi.com/2/team/groups/members/add \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"group\": {\".tag\": \"group_id\",\"group_id\": \"g:e2db7665347abcd600000000001a2b3c\"},\"members\": [{\"user\": {\".tag\": \"team_member_id\",\"team_member_id\": \"dbmid:efgh5678\"},\"access_type\": {\".tag\": \"member\"}}],\"return_members\": true}"
{
"group": {
".tag": "group_id",
"group_id": "g:e2db7665347abcd600000000001a2b3c"
},
"members": [
{
"user": {
".tag": "team_member_id",
"team_member_id": "dbmid:efgh5678"
},
"access_type": {
".tag": "member"
}
}
],
"return_members": true
}group GroupSelector Group to which users will be added.group_id String Group ID.
group_external_id String External ID of the group.
members List of (MemberAccess) List of users to be added to the group.user UserSelectorArg Identity of a user.team_member_id String
external_id String(max_length=64)
email String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$")
access_type GroupAccessType Access type.member Void User is a member of the group, but has no special permissions.
owner Void User can rename the group, and add/remove members.
return_members Boolean Whether to return the list of members in the group. Note that the default value will cause all the group members to be returned in the response. This may take a long time for large groups. The default for this field is True.
{
"group_info": {
"group_name": "project launch",
"group_id": "g:e2db7665347abcd600000000001a2b3c",
"group_management_type": {
".tag": "user_managed"
},
"created": 1447255518000,
"member_count": 5,
"members": [
{
"profile": {
"team_member_id": "dbmid:1234567",
"email": "mary@lamb.com",
"email_verified": true,
"status": {
".tag": "active"
},
"name": {
"given_name": "Franz",
"surname": "Ferdinand",
"familiar_name": "Franz",
"display_name": "Franz Ferdinand (Personal)",
"abbreviated_name": "FF"
},
"membership_type": {
".tag": "full"
},
"account_id": "dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc"
},
"access_type": {
".tag": "member"
}
}
]
},
"async_job_id": "99988877733388"
}group_info GroupFullInfo The group info after member change operation has been performed.group_name String
group_id String
group_management_type GroupManagementType Who is allowed to manage the group.company_managed Void A group which is managed by team admins only.
user_managed Void A group which is managed by selected users.
created UInt64 The group creation time as a UTC timestamp in milliseconds since the Unix epoch.
group_external_id String? External ID of group. This is an arbitrary ID that an admin can attach to a group. This field is optional.
member_count UInt32? The number of members in the group. This field is optional.
members List of (GroupMemberInfo)? List of group members. This field is optional.profile MemberProfile Profile of group member.team_member_id String ID of user as a member of a team.
email String Email address of user.
email_verified Boolean Is true if the user's email is verified to be owned by the user.
status TeamMemberStatus The user's status as a member of a specific team.active Void User has successfully joined the team.
invited Void User has been invited to a team, but has not joined the team yet.
suspended Void User is no longer a member of the team, but the account can be un-suspended, re-establishing the user as a team member.
removed RemovedStatus User is no longer a member of the team. Removed users are only listed when include_removed is true in members/list.is_recoverable Boolean True if the removed team member is recoverable
name Name Representations for a person's name.given_name String Also known as a first name.
surname String Also known as a last name or family name.
familiar_name String Locale-dependent name. In the US, a person's familiar name is their given_name, but elsewhere, it could be any combination of a person's given_name and surname.
display_name String A name that can be used directly to represent the name of a user's Dropbox account.
abbreviated_name String An abbreviated form of the person's name. Their initials in most locales.
membership_type TeamMembershipType The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota).full Void User uses a license and has full access to team resources like the shared quota.
limited Void User does not have access to the shared quota and team admins have restricted administrative control.
external_id String? External ID that a team can attach to the user. An application using the API may find it easier to use their own IDs instead of Dropbox IDs like account_id or team_member_id. This field is optional.
account_id String(min_length=40, max_length=40)? A user's account identifier. This field is optional.
access_type GroupAccessType The role that the user has in the group.member Void User is a member of the group, but has no special permissions.
owner Void User can rename the group, and add/remove members.
async_job_id String(min_length=1) An ID that can be used to obtain the status of granting/revoking group-owned resources.
{
"error_summary": "group_not_found/...",
"error": {
".tag": "group_not_found"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}
{
"error_summary": "duplicate_user/...",
"error": {
".tag": "duplicate_user"
}
}
{
"error_summary": "group_not_in_team/...",
"error": {
".tag": "group_not_in_team"
}
}
{
"error_summary": "user_must_be_active_to_be_owner/...",
"error": {
".tag": "user_must_be_active_to_be_owner"
}
}group_not_found Void No matching group found. No groups match the specified group ID.
duplicate_user Void You cannot add duplicate users. One or more of the members you are trying to add is already a member of the group.
group_not_in_team Void Group is not in this team. You cannot add members to a group that is outside of your team.
members_not_in_team List of (String) These members are not part of your team. Currently, you cannot add members to a group if they are not part of your team, though this may change in a subsequent version. To add new members to your Dropbox Business team, use the members/add endpoint.
users_not_found List of (String) These users were not found in Dropbox.
user_must_be_active_to_be_owner Void A suspended user cannot be added to a group as GroupAccessType.owner.
user_cannot_be_manager_of_company_managed_group List of (String) A company-managed group cannot be managed by a user.
Lists members of a group.
Permission : Team Information
https://api.dropboxapi.com/2/team/groups/members/list
curl -X POST https://api.dropboxapi.com/2/team/groups/members/list \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"group\": {\".tag\": \"group_id\",\"group_id\": \"g:e2db7665347abcd600000000001a2b3c\"},\"limit\": 100}"
{
"group": {
".tag": "group_id",
"group_id": "g:e2db7665347abcd600000000001a2b3c"
},
"limit": 100
}group GroupSelector The group whose members are to be listed.group_id String Group ID.
group_external_id String External ID of the group.
limit UInt32 Number of results to return per call. The default for this field is 1000.
{
"members": [],
"cursor": "ZtkX9_EHj3x7PMkVuFIhwKYXEpwpLwyxp9vMKomUhllil9q7eWiAu",
"has_more": false
}members List of (GroupMemberInfo) profile MemberProfile Profile of group member.team_member_id String ID of user as a member of a team.
email String Email address of user.
email_verified Boolean Is true if the user's email is verified to be owned by the user.
status TeamMemberStatus The user's status as a member of a specific team.active Void User has successfully joined the team.
invited Void User has been invited to a team, but has not joined the team yet.
suspended Void User is no longer a member of the team, but the account can be un-suspended, re-establishing the user as a team member.
removed RemovedStatus User is no longer a member of the team. Removed users are only listed when include_removed is true in members/list.is_recoverable Boolean True if the removed team member is recoverable
name Name Representations for a person's name.given_name String Also known as a first name.
surname String Also known as a last name or family name.
familiar_name String Locale-dependent name. In the US, a person's familiar name is their given_name, but elsewhere, it could be any combination of a person's given_name and surname.
display_name String A name that can be used directly to represent the name of a user's Dropbox account.
abbreviated_name String An abbreviated form of the person's name. Their initials in most locales.
membership_type TeamMembershipType The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota).full Void User uses a license and has full access to team resources like the shared quota.
limited Void User does not have access to the shared quota and team admins have restricted administrative control.
external_id String? External ID that a team can attach to the user. An application using the API may find it easier to use their own IDs instead of Dropbox IDs like account_id or team_member_id. This field is optional.
account_id String(min_length=40, max_length=40)? A user's account identifier. This field is optional.
access_type GroupAccessType The role that the user has in the group.member Void User is a member of the group, but has no special permissions.
owner Void User can rename the group, and add/remove members.
cursor String Pass the cursor into groups/members/list/continue to obtain additional group members.
has_more Boolean Is true if there are additional group members that have not been returned yet. An additional call to groups/members/list/continue can retrieve them.
{
"error_summary": "group_not_found/...",
"error": {
".tag": "group_not_found"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}group_not_found Void No matching group found. No groups match the specified group ID.
Once a cursor has been retrieved from groups/members/list, use this to paginate through all members of the group.
Permission : Team information
https://api.dropboxapi.com/2/team/groups/members/list/continue
curl -X POST https://api.dropboxapi.com/2/team/groups/members/list/continue \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"cursor\": \"ZtkX9_EHj3x7PMkVuFIhwKYXEpwpLwyxp9vMKomUhllil9q7eWiAu\"}"
{
"cursor": "ZtkX9_EHj3x7PMkVuFIhwKYXEpwpLwyxp9vMKomUhllil9q7eWiAu"
}cursor String Indicates from what point to get the next set of groups.
{
"members": [],
"cursor": "ZtkX9_EHj3x7PMkVuFIhwKYXEpwpLwyxp9vMKomUhllil9q7eWiAu",
"has_more": false
}members List of (GroupMemberInfo) profile MemberProfile Profile of group member.team_member_id String ID of user as a member of a team.
email String Email address of user.
email_verified Boolean Is true if the user's email is verified to be owned by the user.
status TeamMemberStatus The user's status as a member of a specific team.active Void User has successfully joined the team.
invited Void User has been invited to a team, but has not joined the team yet.
suspended Void User is no longer a member of the team, but the account can be un-suspended, re-establishing the user as a team member.
removed RemovedStatus User is no longer a member of the team. Removed users are only listed when include_removed is true in members/list.is_recoverable Boolean True if the removed team member is recoverable
name Name Representations for a person's name.given_name String Also known as a first name.
surname String Also known as a last name or family name.
familiar_name String Locale-dependent name. In the US, a person's familiar name is their given_name, but elsewhere, it could be any combination of a person's given_name and surname.
display_name String A name that can be used directly to represent the name of a user's Dropbox account.
abbreviated_name String An abbreviated form of the person's name. Their initials in most locales.
membership_type TeamMembershipType The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota).full Void User uses a license and has full access to team resources like the shared quota.
limited Void User does not have access to the shared quota and team admins have restricted administrative control.
external_id String? External ID that a team can attach to the user. An application using the API may find it easier to use their own IDs instead of Dropbox IDs like account_id or team_member_id. This field is optional.
account_id String(min_length=40, max_length=40)? A user's account identifier. This field is optional.
access_type GroupAccessType The role that the user has in the group.member Void User is a member of the group, but has no special permissions.
owner Void User can rename the group, and add/remove members.
cursor String Pass the cursor into groups/members/list/continue to obtain additional group members.
has_more Boolean Is true if there are additional group members that have not been returned yet. An additional call to groups/members/list/continue can retrieve them.
{
"error_summary": "invalid_cursor/...",
"error": {
".tag": "invalid_cursor"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}invalid_cursor Void The cursor is invalid.
Removes members from a group.
The members are removed immediately. However the revoking of group-owned resources may take additional time. Use the groups/job_status/get to determine whether this process has completed.
This method permits removing the only owner of a group, even in cases where this is not possible via the web client.
Permission : Team member management
https://api.dropboxapi.com/2/team/groups/members/remove
curl -X POST https://api.dropboxapi.com/2/team/groups/members/remove \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"group\": {\".tag\": \"group_id\",\"group_id\": \"g:e2db7665347abcd600000000001a2b3c\"},\"users\": [{\".tag\": \"team_member_id\",\"team_member_id\": \"dbmid:efgh5678\"}],\"return_members\": true}"
{
"group": {
".tag": "group_id",
"group_id": "g:e2db7665347abcd600000000001a2b3c"
},
"users": [
{
".tag": "team_member_id",
"team_member_id": "dbmid:efgh5678"
}
],
"return_members": true
}group GroupSelector Group from which users will be removed.group_id String Group ID.
group_external_id String External ID of the group.
users List of (UserSelectorArg) List of users to be removed from the group.team_member_id String
external_id String(max_length=64)
email String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$")
return_members Boolean Whether to return the list of members in the group. Note that the default value will cause all the group members to be returned in the response. This may take a long time for large groups. The default for this field is True.
{
"group_info": {
"group_name": "project launch",
"group_id": "g:e2db7665347abcd600000000001a2b3c",
"group_management_type": {
".tag": "user_managed"
},
"created": 1447255518000,
"member_count": 5,
"members": [
{
"profile": {
"team_member_id": "dbmid:1234567",
"email": "mary@lamb.com",
"email_verified": true,
"status": {
".tag": "active"
},
"name": {
"given_name": "Franz",
"surname": "Ferdinand",
"familiar_name": "Franz",
"display_name": "Franz Ferdinand (Personal)",
"abbreviated_name": "FF"
},
"membership_type": {
".tag": "full"
},
"account_id": "dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc"
},
"access_type": {
".tag": "member"
}
}
]
},
"async_job_id": "99988877733388"
}group_info GroupFullInfo The group info after member change operation has been performed.group_name String
group_id String
group_management_type GroupManagementType Who is allowed to manage the group.company_managed Void A group which is managed by team admins only.
user_managed Void A group which is managed by selected users.
created UInt64 The group creation time as a UTC timestamp in milliseconds since the Unix epoch.
group_external_id String? External ID of group. This is an arbitrary ID that an admin can attach to a group. This field is optional.
member_count UInt32? The number of members in the group. This field is optional.
members List of (GroupMemberInfo)? List of group members. This field is optional.profile MemberProfile Profile of group member.team_member_id String ID of user as a member of a team.
email String Email address of user.
email_verified Boolean Is true if the user's email is verified to be owned by the user.
status TeamMemberStatus The user's status as a member of a specific team.active Void User has successfully joined the team.
invited Void User has been invited to a team, but has not joined the team yet.
suspended Void User is no longer a member of the team, but the account can be un-suspended, re-establishing the user as a team member.
removed RemovedStatus User is no longer a member of the team. Removed users are only listed when include_removed is true in members/list.is_recoverable Boolean True if the removed team member is recoverable
name Name Representations for a person's name.given_name String Also known as a first name.
surname String Also known as a last name or family name.
familiar_name String Locale-dependent name. In the US, a person's familiar name is their given_name, but elsewhere, it could be any combination of a person's given_name and surname.
display_name String A name that can be used directly to represent the name of a user's Dropbox account.
abbreviated_name String An abbreviated form of the person's name. Their initials in most locales.
membership_type TeamMembershipType The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota).full Void User uses a license and has full access to team resources like the shared quota.
limited Void User does not have access to the shared quota and team admins have restricted administrative control.
external_id String? External ID that a team can attach to the user. An application using the API may find it easier to use their own IDs instead of Dropbox IDs like account_id or team_member_id. This field is optional.
account_id String(min_length=40, max_length=40)? A user's account identifier. This field is optional.
access_type GroupAccessType The role that the user has in the group.member Void User is a member of the group, but has no special permissions.
owner Void User can rename the group, and add/remove members.
async_job_id String(min_length=1) An ID that can be used to obtain the status of granting/revoking group-owned resources.
{
"error_summary": "group_not_found/...",
"error": {
".tag": "group_not_found"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}
{
"error_summary": "member_not_in_group/...",
"error": {
".tag": "member_not_in_group"
}
}
{
"error_summary": "group_not_in_team/...",
"error": {
".tag": "group_not_in_team"
}
}group_not_found Void No matching group found. No groups match the specified group ID.
member_not_in_group Void At least one of the specified users is not a member of the group.
group_not_in_team Void Group is not in this team. You cannot remove members from a group that is outside of your team.
members_not_in_team List of (String) These members are not part of your team.
users_not_found List of (String) These users were not found in Dropbox.
Sets a member's access type in a group.
Permission : Team member management
https://api.dropboxapi.com/2/team/groups/members/set_access_type
curl -X POST https://api.dropboxapi.com/2/team/groups/members/set_access_type \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"group\": {\".tag\": \"group_id\",\"group_id\": \"g:e2db7665347abcd600000000001a2b3c\"},\"user\": {\".tag\": \"team_member_id\",\"team_member_id\": \"dbmid:efgh5678\"},\"access_type\": \"member\",\"return_members\": true}"
{
"group": {
".tag": "group_id",
"group_id": "g:e2db7665347abcd600000000001a2b3c"
},
"user": {
".tag": "team_member_id",
"team_member_id": "dbmid:efgh5678"
},
"access_type": "member",
"return_members": true
}group GroupSelector Specify a group.group_id String Group ID.
group_external_id String External ID of the group.
user UserSelectorArg Identity of a user that is a member of group.team_member_id String
external_id String(max_length=64)
email String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$")
access_type GroupAccessType New group access type the user will have.member Void User is a member of the group, but has no special permissions.
owner Void User can rename the group, and add/remove members.
return_members Boolean Whether to return the list of members in the group. Note that the default value will cause all the group members to be returned in the response. This may take a long time for large groups. The default for this field is True.
id_not_found String An ID that was provided as a parameter to groups/get_info, and did not match a corresponding group. The ID can be a group ID, or an external ID, depending on how the method was called.
group_info GroupFullInfo Info about a group.group_name String
group_id String
group_management_type GroupManagementType Who is allowed to manage the group.company_managed Void A group which is managed by team admins only.
user_managed Void A group which is managed by selected users.
created UInt64 The group creation time as a UTC timestamp in milliseconds since the Unix epoch.
group_external_id String? External ID of group. This is an arbitrary ID that an admin can attach to a group. This field is optional.
member_count UInt32? The number of members in the group. This field is optional.
members List of (GroupMemberInfo)? List of group members. This field is optional.profile MemberProfile Profile of group member.team_member_id String ID of user as a member of a team.
email String Email address of user.
email_verified Boolean Is true if the user's email is verified to be owned by the user.
status TeamMemberStatus The user's status as a member of a specific team.active Void User has successfully joined the team.
invited Void User has been invited to a team, but has not joined the team yet.
suspended Void User is no longer a member of the team, but the account can be un-suspended, re-establishing the user as a team member.
removed RemovedStatus User is no longer a member of the team. Removed users are only listed when include_removed is true in members/list.is_recoverable Boolean True if the removed team member is recoverable
name Name Representations for a person's name.given_name String Also known as a first name.
surname String Also known as a last name or family name.
familiar_name String Locale-dependent name. In the US, a person's familiar name is their given_name, but elsewhere, it could be any combination of a person's given_name and surname.
display_name String A name that can be used directly to represent the name of a user's Dropbox account.
abbreviated_name String An abbreviated form of the person's name. Their initials in most locales.
membership_type TeamMembershipType The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota).full Void User uses a license and has full access to team resources like the shared quota.
limited Void User does not have access to the shared quota and team admins have restricted administrative control.
external_id String? External ID that a team can attach to the user. An application using the API may find it easier to use their own IDs instead of Dropbox IDs like account_id or team_member_id. This field is optional.
account_id String(min_length=40, max_length=40)? A user's account identifier. This field is optional.
access_type GroupAccessType The role that the user has in the group.member Void User is a member of the group, but has no special permissions.
owner Void User can rename the group, and add/remove members.
{
"error_summary": "group_not_found/...",
"error": {
".tag": "group_not_found"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}
{
"error_summary": "member_not_in_group/...",
"error": {
".tag": "member_not_in_group"
}
}
{
"error_summary": "user_cannot_be_manager_of_company_managed_group/...",
"error": {
".tag": "user_cannot_be_manager_of_company_managed_group"
}
}group_not_found Void No matching group found. No groups match the specified group ID.
member_not_in_group Void The specified user is not a member of this group.
user_cannot_be_manager_of_company_managed_group Void A company managed group cannot be managed by a user.
Updates a group's name and/or external ID.
Permission : Team member management
https://api.dropboxapi.com/2/team/groups/update
curl -X POST https://api.dropboxapi.com/2/team/groups/update \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"group\": {\".tag\": \"group_id\",\"group_id\": \"g:e2db7665347abcd600000000001a2b3c\"},\"return_members\": true,\"new_group_name\": \"Europe west sales\",\"new_group_external_id\": \"sales-234\",\"new_group_management_type\": \"company_managed\"}"
{
"group": {
".tag": "group_id",
"group_id": "g:e2db7665347abcd600000000001a2b3c"
},
"return_members": true,
"new_group_name": "Europe west sales",
"new_group_external_id": "sales-234",
"new_group_management_type": "company_managed"
}group GroupSelector Specify a group.group_id String Group ID.
group_external_id String External ID of the group.
return_members Boolean Whether to return the list of members in the group. Note that the default value will cause all the group members to be returned in the response. This may take a long time for large groups. The default for this field is True.
new_group_name String? Optional argument. Set group name to this if provided. This field is optional.
new_group_external_id String? Optional argument. New group external ID. If the argument is None, the group's external_id won't be updated. If the argument is empty string, the group's external id will be cleared. This field is optional.
new_group_management_type GroupManagementType? Set new group management type, if provided. This field is optional.company_managed Void A group which is managed by team admins only.
user_managed Void A group which is managed by selected users.
{
"group_name": "project launch",
"group_id": "g:e2db7665347abcd600000000001a2b3c",
"group_management_type": {
".tag": "user_managed"
},
"created": 1447255518000,
"member_count": 5,
"members": [
{
"profile": {
"team_member_id": "dbmid:1234567",
"email": "mary@lamb.com",
"email_verified": true,
"status": {
".tag": "active"
},
"name": {
"given_name": "Franz",
"surname": "Ferdinand",
"familiar_name": "Franz",
"display_name": "Franz Ferdinand (Personal)",
"abbreviated_name": "FF"
},
"membership_type": {
".tag": "full"
},
"account_id": "dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc"
},
"access_type": {
".tag": "member"
}
}
]
}group_name String
group_id String
group_management_type GroupManagementType Who is allowed to manage the group.company_managed Void A group which is managed by team admins only.
user_managed Void A group which is managed by selected users.
created UInt64 The group creation time as a UTC timestamp in milliseconds since the Unix epoch.
group_external_id String? External ID of group. This is an arbitrary ID that an admin can attach to a group. This field is optional.
member_count UInt32? The number of members in the group. This field is optional.
members List of (GroupMemberInfo)? List of group members. This field is optional.profile MemberProfile Profile of group member.team_member_id String ID of user as a member of a team.
email String Email address of user.
email_verified Boolean Is true if the user's email is verified to be owned by the user.
status TeamMemberStatus The user's status as a member of a specific team.active Void User has successfully joined the team.
invited Void User has been invited to a team, but has not joined the team yet.
suspended Void User is no longer a member of the team, but the account can be un-suspended, re-establishing the user as a team member.
removed RemovedStatus User is no longer a member of the team. Removed users are only listed when include_removed is true in members/list.is_recoverable Boolean True if the removed team member is recoverable
name Name Representations for a person's name.given_name String Also known as a first name.
surname String Also known as a last name or family name.
familiar_name String Locale-dependent name. In the US, a person's familiar name is their given_name, but elsewhere, it could be any combination of a person's given_name and surname.
display_name String A name that can be used directly to represent the name of a user's Dropbox account.
abbreviated_name String An abbreviated form of the person's name. Their initials in most locales.
membership_type TeamMembershipType The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota).full Void User uses a license and has full access to team resources like the shared quota.
limited Void User does not have access to the shared quota and team admins have restricted administrative control.
external_id String? External ID that a team can attach to the user. An application using the API may find it easier to use their own IDs instead of Dropbox IDs like account_id or team_member_id. This field is optional.
account_id String(min_length=40, max_length=40)? A user's account identifier. This field is optional.
access_type GroupAccessType The role that the user has in the group.member Void User is a member of the group, but has no special permissions.
owner Void User can rename the group, and add/remove members.
{
"error_summary": "group_not_found/...",
"error": {
".tag": "group_not_found"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}
{
"error_summary": "group_name_already_used/...",
"error": {
".tag": "group_name_already_used"
}
}
{
"error_summary": "group_name_invalid/...",
"error": {
".tag": "group_name_invalid"
}
}
{
"error_summary": "external_id_already_in_use/...",
"error": {
".tag": "external_id_already_in_use"
}
}group_not_found Void No matching group found. No groups match the specified group ID.
group_name_already_used Void The requested group name is already being used by another group.
group_name_invalid Void Group name is empty or has invalid characters.
external_id_already_in_use Void The requested external ID is already being used by another group.
List all linked applications of the team member.
Note, this endpoint does not list any team-linked applications.
https://api.dropboxapi.com/2/team/linked_apps/list_member_linked_apps
curl -X POST https://api.dropboxapi.com/2/team/linked_apps/list_member_linked_apps \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"team_member_id\": \"dbmid:AAFdgehTzw7WlXhZJsbGCLePe8RvQGYDr-I\"}"
{
"team_member_id": "dbmid:AAFdgehTzw7WlXhZJsbGCLePe8RvQGYDr-I"
}team_member_id String The team member id
linked_api_apps List of (ApiApp) List of third party applications linked by this team memberapp_id String The application unique id
app_name String The application name
is_app_folder Boolean Whether the linked application uses a dedicated folder
publisher String? The application publisher name This field is optional.
publisher_url String? The publisher's URL This field is optional.
linked Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time this application was linked This field is optional.
{
"error_summary": "member_not_found/...",
"error": {
".tag": "member_not_found"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}member_not_found Void Member not found.
List all applications linked to the team members' accounts.
Note, this endpoint does not list any team-linked applications.
https://api.dropboxapi.com/2/team/linked_apps/list_members_linked_apps
cursor String? At the first call to the linked_apps/list_members_linked_apps the cursor shouldn't be passed. Then, if the result of the call includes a cursor, the following requests should include the received cursors in order to receive the next sub list of the team applications This field is optional.
apps List of (MemberLinkedApps) The linked applications of each member of the teamteam_member_id String The member unique Id
linked_api_apps List of (ApiApp) List of third party applications linked by this team memberapp_id String The application unique id
app_name String The application name
is_app_folder Boolean Whether the linked application uses a dedicated folder
publisher String? The application publisher name This field is optional.
publisher_url String? The publisher's URL This field is optional.
linked Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time this application was linked This field is optional.
has_more Boolean If true, then there are more apps available. Pass the cursor to linked_apps/list_members_linked_apps to retrieve the rest.
cursor String? Pass the cursor into linked_apps/list_members_linked_apps to receive the next sub list of team's applications. This field is optional.
{
"error_summary": "reset/...",
"error": {
".tag": "reset"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}reset Void Indicates that the cursor has been invalidated. Call linked_apps/list_members_linked_apps again with an empty cursor to obtain a new cursor.
List all applications linked to the team members' accounts.
Note, this endpoint doesn't list any team-linked applications.
https://api.dropboxapi.com/2/team/linked_apps/list_team_linked_apps
cursor String? At the first call to the linked_apps/list_team_linked_apps the cursor shouldn't be passed. Then, if the result of the call includes a cursor, the following requests should include the received cursors in order to receive the next sub list of the team applications This field is optional.
apps List of (MemberLinkedApps) The linked applications of each member of the teamteam_member_id String The member unique Id
linked_api_apps List of (ApiApp) List of third party applications linked by this team memberapp_id String The application unique id
app_name String The application name
is_app_folder Boolean Whether the linked application uses a dedicated folder
publisher String? The application publisher name This field is optional.
publisher_url String? The publisher's URL This field is optional.
linked Timestamp(format="%Y-%m-%dT%H:%M:%SZ")? The time this application was linked This field is optional.
has_more Boolean If true, then there are more apps available. Pass the cursor to linked_apps/list_team_linked_apps to retrieve the rest.
cursor String? Pass the cursor into linked_apps/list_team_linked_apps to receive the next sub list of team's applications. This field is optional.
{
"error_summary": "reset/...",
"error": {
".tag": "reset"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}reset Void Indicates that the cursor has been invalidated. Call linked_apps/list_team_linked_apps again with an empty cursor to obtain a new cursor.
Revoke a linked application of the team member
https://api.dropboxapi.com/2/team/linked_apps/revoke_linked_app
app_id String The application's unique id
team_member_id String The unique id of the member owning the device
keep_app_folder Boolean Whether to keep the application dedicated folder (in case the application uses one) The default for this field is True.
No return values.
{
"error_summary": "app_not_found/...",
"error": {
".tag": "app_not_found"
}
}
{
"error_summary": "member_not_found/...",
"error": {
".tag": "member_not_found"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}app_not_found Void Application not found.
member_not_found Void Member not found.
Revoke a list of linked applications of the team members
https://api.dropboxapi.com/2/team/linked_apps/revoke_linked_app_batch
revoke_linked_app List of (RevokeLinkedApiAppArg) app_id String The application's unique id
team_member_id String The unique id of the member owning the device
keep_app_folder Boolean Whether to keep the application dedicated folder (in case the application uses one) The default for this field is True.
revoke_linked_app_status List of (RevokeLinkedAppStatus) success Boolean Result of the revoking request
error_type RevokeLinkedAppError? The error cause in case of a failure This field is optional.app_not_found Void Application not found.
member_not_found Void Member not found.
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}Adds members to a team.
Permission : Team member management
A maximum of 20 members can be specified in a single call.
If no Dropbox account exists with the email address specified, a new Dropbox account will be created with the given email address, and that account will be invited to the team.
If a personal Dropbox account exists with the email address specified in the call, this call will create a placeholder Dropbox account for the user on the team and send an email inviting the user to migrate their existing personal account onto the team.
Team member management apps are required to set an initial given_name and surname for a user to use in the team invitation and for 'Perform as team member' actions taken on the user before they become 'active'.
https://api.dropboxapi.com/2/team/members/add
curl -X POST https://api.dropboxapi.com/2/team/members/add \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"new_members\": [{\"member_email\": \"tom.s@company.com\",\"member_given_name\": \"Tom\",\"member_surname\": \"Silverstone\",\"member_external_id\": \"company_id:342432\",\"send_welcome_email\": true,\"role\": {\".tag\": \"member_only\"}}],\"force_async\": false}"
{
"new_members": [
{
"member_email": "tom.s@company.com",
"member_given_name": "Tom",
"member_surname": "Silverstone",
"member_external_id": "company_id:342432",
"send_welcome_email": true,
"role": {
".tag": "member_only"
}
}
],
"force_async": false
}new_members List of (MemberAddArg) Details of new members to be added to the team.member_email String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$")
member_given_name String(min_length=1, max_length=100, pattern="[^/:?*<>"|]*") Member's first name.
member_surname String(min_length=1, max_length=100, pattern="[^/:?*<>"|]*") Member's last name.
member_external_id String(max_length=64)? External ID for member. This field is optional.
send_welcome_email Boolean Whether to send a welcome email to the member. If send_welcome_email is false, no email invitation will be sent to the user. This may be useful for apps using single sign-on (SSO) flows for onboarding that want to handle announcements themselves. The default for this field is True.
role AdminTier The default for this union is member_only.team_admin Void User is an administrator of the team - has all permissions.
user_management_admin Void User can do most user provisioning, de-provisioning and management.
support_admin Void User can do a limited set of common support tasks for existing users.
member_only Void User is not an admin of the team.
force_async Boolean Whether to force the add to happen asynchronously. The default for this field is False.
{
".tag": "complete",
"complete": [
{
".tag": "success",
"profile": {
"team_member_id": "dbmid:FDFSVF-DFSDF",
"email": "tami@seagull.com",
"email_verified": false,
"status": {
".tag": "active"
},
"name": {
"given_name": "Franz",
"surname": "Ferdinand",
"familiar_name": "Franz",
"display_name": "Franz Ferdinand (Personal)",
"abbreviated_name": "FF"
},
"membership_type": {
".tag": "full"
},
"groups": [
"g:e2db7665347abcd600000000001a2b3c"
],
"external_id": "244423",
"account_id": "dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc"
},
"role": {
".tag": "member_only"
}
}
]
}async_job_id String(min_length=1) This response indicates that the processing is asynchronous. The string is an id that can be used to obtain the status of the asynchronous job.
complete List of (MemberAddResult) success TeamMemberInfo Describes a user that was successfully added to the team.profile TeamMemberProfile Profile of a user as a member of a team.team_member_id String ID of user as a member of a team.
email String Email address of user.
email_verified Boolean Is true if the user's email is verified to be owned by the user.
status TeamMemberStatus The user's status as a member of a specific team.active Void User has successfully joined the team.
invited Void User has been invited to a team, but has not joined the team yet.
suspended Void User is no longer a member of the team, but the account can be un-suspended, re-establishing the user as a team member.
removed RemovedStatus User is no longer a member of the team. Removed users are only listed when include_removed is true in members/list.is_recoverable Boolean True if the removed team member is recoverable
name Name Representations for a person's name.given_name String Also known as a first name.
surname String Also known as a last name or family name.
familiar_name String Locale-dependent name. In the US, a person's familiar name is their given_name, but elsewhere, it could be any combination of a person's given_name and surname.
display_name String A name that can be used directly to represent the name of a user's Dropbox account.
abbreviated_name String An abbreviated form of the person's name. Their initials in most locales.
membership_type TeamMembershipType The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota).full Void User uses a license and has full access to team resources like the shared quota.
limited Void User does not have access to the shared quota and team admins have restricted administrative control.
groups List of (String) List of group IDs of groups that the user belongs to.
external_id String? External ID that a team can attach to the user. An application using the API may find it easier to use their own IDs instead of Dropbox IDs like account_id or team_member_id. This field is optional.
account_id String(min_length=40, max_length=40)? A user's account identifier. This field is optional.
role AdminTier The user's role in the team.team_admin Void User is an administrator of the team - has all permissions.
user_management_admin Void User can do most user provisioning, de-provisioning and management.
support_admin Void User can do a limited set of common support tasks for existing users.
member_only Void User is not an admin of the team.
team_license_limit String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$") Team is already full. The organization has no available licenses.
free_team_member_limit_reached String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$") Team is already full. The free team member limit has been reached.
user_already_on_team String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$") User is already on this team. The provided email address is associated with a user who is already a member of (including in recoverable state) or invited to the team.
user_on_another_team String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$") User is already on another team. The provided email address is associated with a user that is already a member or invited to another team.
user_already_paired String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$") User is already paired.
user_migration_failed String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$") User migration has failed.
duplicate_external_member_id String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$") A user with the given external member ID already exists on the team (including in recoverable state).
user_creation_failed String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$") User creation has failed.
No errors.
Once an async_job_id is returned from members/add , use this to poll the status of the asynchronous request.
Permission : Team member management
https://api.dropboxapi.com/2/team/members/add/job_status/get
curl -X POST https://api.dropboxapi.com/2/team/members/add/job_status/get \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"async_job_id\": \"34g93hh34h04y384084\"}"
{
"async_job_id": "34g93hh34h04y384084"
}async_job_id String(min_length=1) Id of the asynchronous job. This is the value of a response returned from the method that launched the job.
{
".tag": "complete",
"complete": [
{
".tag": "success",
"profile": {
"team_member_id": "dbmid:FDFSVF-DFSDF",
"email": "tami@seagull.com",
"email_verified": false,
"status": {
".tag": "active"
},
"name": {
"given_name": "Franz",
"surname": "Ferdinand",
"familiar_name": "Franz",
"display_name": "Franz Ferdinand (Personal)",
"abbreviated_name": "FF"
},
"membership_type": {
".tag": "full"
},
"groups": [
"g:e2db7665347abcd600000000001a2b3c"
],
"external_id": "244423",
"account_id": "dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc"
},
"role": {
".tag": "member_only"
}
}
]
}
{
".tag": "in_progress"
}in_progress Void The asynchronous job is still in progress.
complete List of (MemberAddResult) The asynchronous job has finished. For each member that was specified in the parameter MembersAddArg that was provided to members/add, a corresponding item is returned in this list.success TeamMemberInfo Describes a user that was successfully added to the team.profile TeamMemberProfile Profile of a user as a member of a team.team_member_id String ID of user as a member of a team.
email String Email address of user.
email_verified Boolean Is true if the user's email is verified to be owned by the user.
status TeamMemberStatus The user's status as a member of a specific team.active Void User has successfully joined the team.
invited Void User has been invited to a team, but has not joined the team yet.
suspended Void User is no longer a member of the team, but the account can be un-suspended, re-establishing the user as a team member.
removed RemovedStatus User is no longer a member of the team. Removed users are only listed when include_removed is true in members/list.is_recoverable Boolean True if the removed team member is recoverable
name Name Representations for a person's name.given_name String Also known as a first name.
surname String Also known as a last name or family name.
familiar_name String Locale-dependent name. In the US, a person's familiar name is their given_name, but elsewhere, it could be any combination of a person's given_name and surname.
display_name String A name that can be used directly to represent the name of a user's Dropbox account.
abbreviated_name String An abbreviated form of the person's name. Their initials in most locales.
membership_type TeamMembershipType The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota).full Void User uses a license and has full access to team resources like the shared quota.
limited Void User does not have access to the shared quota and team admins have restricted administrative control.
groups List of (String) List of group IDs of groups that the user belongs to.
external_id String? External ID that a team can attach to the user. An application using the API may find it easier to use their own IDs instead of Dropbox IDs like account_id or team_member_id. This field is optional.
account_id String(min_length=40, max_length=40)? A user's account identifier. This field is optional.
role AdminTier The user's role in the team.team_admin Void User is an administrator of the team - has all permissions.
user_management_admin Void User can do most user provisioning, de-provisioning and management.
support_admin Void User can do a limited set of common support tasks for existing users.
member_only Void User is not an admin of the team.
team_license_limit String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$") Team is already full. The organization has no available licenses.
free_team_member_limit_reached String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$") Team is already full. The free team member limit has been reached.
user_already_on_team String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$") User is already on this team. The provided email address is associated with a user who is already a member of (including in recoverable state) or invited to the team.
user_on_another_team String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$") User is already on another team. The provided email address is associated with a user that is already a member or invited to another team.
user_already_paired String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$") User is already paired.
user_migration_failed String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$") User migration has failed.
duplicate_external_member_id String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$") A user with the given external member ID already exists on the team (including in recoverable state).
user_creation_failed String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$") User creation has failed.
failed String The asynchronous job returned an error. The string contains an error message.
{
"error_summary": "invalid_async_job_id/...",
"error": {
".tag": "invalid_async_job_id"
}
}
{
"error_summary": "internal_error/...",
"error": {
".tag": "internal_error"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}invalid_async_job_id Void The job ID is invalid.
internal_error Void Something went wrong with the job on Dropbox's end. You'll need to verify that the action you were taking succeeded, and if not, try again. This should happen very rarely.
Returns information about multiple team members.
Permission : Team information
This endpoint will return MembersGetInfoItem.id_not_found, for IDs (or emails) that cannot be matched to a valid team member.
https://api.dropboxapi.com/2/team/members/get_info
curl -X POST https://api.dropboxapi.com/2/team/members/get_info \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"members\": [{\".tag\": \"team_member_id\",\"team_member_id\": \"dbmid:efgh5678\"}]}"
{
"members": [
{
".tag": "team_member_id",
"team_member_id": "dbmid:efgh5678"
}
]
}members List of (UserSelectorArg) List of team members.team_member_id String
external_id String(max_length=64)
email String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$")
id_not_found String An ID that was provided as a parameter to members/get_info, and did not match a corresponding user. This might be a team_member_id, an email, or an external ID, depending on how the method was called.
member_info TeamMemberInfo Info about a team member.profile TeamMemberProfile Profile of a user as a member of a team.team_member_id String ID of user as a member of a team.
email String Email address of user.
email_verified Boolean Is true if the user's email is verified to be owned by the user.
status TeamMemberStatus The user's status as a member of a specific team.active Void User has successfully joined the team.
invited Void User has been invited to a team, but has not joined the team yet.
suspended Void User is no longer a member of the team, but the account can be un-suspended, re-establishing the user as a team member.
removed RemovedStatus User is no longer a member of the team. Removed users are only listed when include_removed is true in members/list.is_recoverable Boolean True if the removed team member is recoverable
name Name Representations for a person's name.given_name String Also known as a first name.
surname String Also known as a last name or family name.
familiar_name String Locale-dependent name. In the US, a person's familiar name is their given_name, but elsewhere, it could be any combination of a person's given_name and surname.
display_name String A name that can be used directly to represent the name of a user's Dropbox account.
abbreviated_name String An abbreviated form of the person's name. Their initials in most locales.
membership_type TeamMembershipType The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota).full Void User uses a license and has full access to team resources like the shared quota.
limited Void User does not have access to the shared quota and team admins have restricted administrative control.
groups List of (String) List of group IDs of groups that the user belongs to.
external_id String? External ID that a team can attach to the user. An application using the API may find it easier to use their own IDs instead of Dropbox IDs like account_id or team_member_id. This field is optional.
account_id String(min_length=40, max_length=40)? A user's account identifier. This field is optional.
role AdminTier The user's role in the team.team_admin Void User is an administrator of the team - has all permissions.
user_management_admin Void User can do most user provisioning, de-provisioning and management.
support_admin Void User can do a limited set of common support tasks for existing users.
member_only Void User is not an admin of the team.
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}Lists members of a team.
Permission : Team information
https://api.dropboxapi.com/2/team/members/list
curl -X POST https://api.dropboxapi.com/2/team/members/list \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"limit\": 100,\"include_removed\": false}"
{
"limit": 100,
"include_removed": false
}limit UInt32 Number of results to return per call. The default for this field is 1000.
include_removed Boolean Whether to return removed members. The default for this field is False.
{
"members": [
{
"profile": {
"team_member_id": "dbmid:FDFSVF-DFSDF",
"email": "tami@seagull.com",
"email_verified": false,
"status": {
".tag": "active"
},
"name": {
"given_name": "Franz",
"surname": "Ferdinand",
"familiar_name": "Franz",
"display_name": "Franz Ferdinand (Personal)",
"abbreviated_name": "FF"
},
"membership_type": {
".tag": "full"
},
"groups": [
"g:e2db7665347abcd600000000001a2b3c"
],
"external_id": "244423",
"account_id": "dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc"
},
"role": {
".tag": "member_only"
}
}
],
"cursor": "ZtkX9_EHj3x7PMkVuFIhwKYXEpwpLwyxp9vMKomUhllil9q7eWiAu",
"has_more": true
}members List of (TeamMemberInfo) List of team members.profile TeamMemberProfile Profile of a user as a member of a team.team_member_id String ID of user as a member of a team.
email String Email address of user.
email_verified Boolean Is true if the user's email is verified to be owned by the user.
status TeamMemberStatus The user's status as a member of a specific team.active Void User has successfully joined the team.
invited Void User has been invited to a team, but has not joined the team yet.
suspended Void User is no longer a member of the team, but the account can be un-suspended, re-establishing the user as a team member.
removed RemovedStatus User is no longer a member of the team. Removed users are only listed when include_removed is true in members/list.is_recoverable Boolean True if the removed team member is recoverable
name Name Representations for a person's name.given_name String Also known as a first name.
surname String Also known as a last name or family name.
familiar_name String Locale-dependent name. In the US, a person's familiar name is their given_name, but elsewhere, it could be any combination of a person's given_name and surname.
display_name String A name that can be used directly to represent the name of a user's Dropbox account.
abbreviated_name String An abbreviated form of the person's name. Their initials in most locales.
membership_type TeamMembershipType The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota).full Void User uses a license and has full access to team resources like the shared quota.
limited Void User does not have access to the shared quota and team admins have restricted administrative control.
groups List of (String) List of group IDs of groups that the user belongs to.
external_id String? External ID that a team can attach to the user. An application using the API may find it easier to use their own IDs instead of Dropbox IDs like account_id or team_member_id. This field is optional.
account_id String(min_length=40, max_length=40)? A user's account identifier. This field is optional.
role AdminTier The user's role in the team.team_admin Void User is an administrator of the team - has all permissions.
user_management_admin Void User can do most user provisioning, de-provisioning and management.
support_admin Void User can do a limited set of common support tasks for existing users.
member_only Void User is not an admin of the team.
cursor String Pass the cursor into members/list/continue to obtain the additional members.
has_more Boolean Is true if there are additional team members that have not been returned yet. An additional call to members/list/continue can retrieve them.
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}Once a cursor has been retrieved from members/list, use this to paginate through all team members.
Permission : Team information
https://api.dropboxapi.com/2/team/members/list/continue
curl -X POST https://api.dropboxapi.com/2/team/members/list/continue \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"cursor\": \"ZtkX9_EHj3x7PMkVuFIhwKYXEpwpLwyxp9vMKomUhllil9q7eWiAu\"}"
{
"cursor": "ZtkX9_EHj3x7PMkVuFIhwKYXEpwpLwyxp9vMKomUhllil9q7eWiAu"
}cursor String Indicates from what point to get the next set of members.
{
"members": [
{
"profile": {
"team_member_id": "dbmid:FDFSVF-DFSDF",
"email": "tami@seagull.com",
"email_verified": false,
"status": {
".tag": "active"
},
"name": {
"given_name": "Franz",
"surname": "Ferdinand",
"familiar_name": "Franz",
"display_name": "Franz Ferdinand (Personal)",
"abbreviated_name": "FF"
},
"membership_type": {
".tag": "full"
},
"groups": [
"g:e2db7665347abcd600000000001a2b3c"
],
"external_id": "244423",
"account_id": "dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc"
},
"role": {
".tag": "member_only"
}
}
],
"cursor": "ZtkX9_EHj3x7PMkVuFIhwKYXEpwpLwyxp9vMKomUhllil9q7eWiAu",
"has_more": true
}members List of (TeamMemberInfo) List of team members.profile TeamMemberProfile Profile of a user as a member of a team.team_member_id String ID of user as a member of a team.
email String Email address of user.
email_verified Boolean Is true if the user's email is verified to be owned by the user.
status TeamMemberStatus The user's status as a member of a specific team.active Void User has successfully joined the team.
invited Void User has been invited to a team, but has not joined the team yet.
suspended Void User is no longer a member of the team, but the account can be un-suspended, re-establishing the user as a team member.
removed RemovedStatus User is no longer a member of the team. Removed users are only listed when include_removed is true in members/list.is_recoverable Boolean True if the removed team member is recoverable
name Name Representations for a person's name.given_name String Also known as a first name.
surname String Also known as a last name or family name.
familiar_name String Locale-dependent name. In the US, a person's familiar name is their given_name, but elsewhere, it could be any combination of a person's given_name and surname.
display_name String A name that can be used directly to represent the name of a user's Dropbox account.
abbreviated_name String An abbreviated form of the person's name. Their initials in most locales.
membership_type TeamMembershipType The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota).full Void User uses a license and has full access to team resources like the shared quota.
limited Void User does not have access to the shared quota and team admins have restricted administrative control.
groups List of (String) List of group IDs of groups that the user belongs to.
external_id String? External ID that a team can attach to the user. An application using the API may find it easier to use their own IDs instead of Dropbox IDs like account_id or team_member_id. This field is optional.
account_id String(min_length=40, max_length=40)? A user's account identifier. This field is optional.
role AdminTier The user's role in the team.team_admin Void User is an administrator of the team - has all permissions.
user_management_admin Void User can do most user provisioning, de-provisioning and management.
support_admin Void User can do a limited set of common support tasks for existing users.
member_only Void User is not an admin of the team.
cursor String Pass the cursor into members/list/continue to obtain the additional members.
has_more Boolean Is true if there are additional team members that have not been returned yet. An additional call to members/list/continue can retrieve them.
{
"error_summary": "invalid_cursor/...",
"error": {
".tag": "invalid_cursor"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}invalid_cursor Void The cursor is invalid.
Recover a deleted member.
Permission : Team member management
Exactly one of team_member_id, email, or external_id must be provided to identify the user account.
https://api.dropboxapi.com/2/team/members/recover
curl -X POST https://api.dropboxapi.com/2/team/members/recover \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"user\": {\".tag\": \"team_member_id\",\"team_member_id\": \"dbmid:efgh5678\"}}"
{
"user": {
".tag": "team_member_id",
"team_member_id": "dbmid:efgh5678"
}
}user UserSelectorArg Identity of user to recover.team_member_id String
external_id String(max_length=64)
email String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$")
No return values.
{
"error_summary": "user_not_found/...",
"error": {
".tag": "user_not_found"
}
}
{
"error_summary": "user_unrecoverable/...",
"error": {
".tag": "user_unrecoverable"
}
}
{
"error_summary": "user_not_in_team/...",
"error": {
".tag": "user_not_in_team"
}
}
{
"error_summary": "team_license_limit/...",
"error": {
".tag": "team_license_limit"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}user_not_found Void No matching user found. The provided team_member_id, email, or external_id does not exist on this team.
user_unrecoverable Void The user is not recoverable.
user_not_in_team Void The user is not a member of the team.
team_license_limit Void Team is full. The organization has no available licenses.
Removes a member from a team.
Permission : Team member management
Exactly one of team_member_id, email, or external_id must be provided to identify the user account.
Accounts can be recovered via members/recover for a 7 day period or until the account has been permanently deleted or transferred to another account (whichever comes first). Calling members/add while a user is still recoverable on your team will return with MemberAddResult.user_already_on_team.
This endpoint may initiate an asynchronous job. To obtain the final result of the job, the client should periodically poll members/remove/job_status/get.
https://api.dropboxapi.com/2/team/members/remove
curl -X POST https://api.dropboxapi.com/2/team/members/remove \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"user\": {\".tag\": \"team_member_id\",\"team_member_id\": \"dbmid:efgh5678\"},\"wipe_data\": true,\"transfer_dest_id\": {\".tag\": \"team_member_id\",\"team_member_id\": \"dbmid:efgh5678\"},\"transfer_admin_id\": {\".tag\": \"team_member_id\",\"team_member_id\": \"dbmid:efgh5678\"},\"keep_account\": false}"
{
"user": {
".tag": "team_member_id",
"team_member_id": "dbmid:efgh5678"
},
"wipe_data": true,
"transfer_dest_id": {
".tag": "team_member_id",
"team_member_id": "dbmid:efgh5678"
},
"transfer_admin_id": {
".tag": "team_member_id",
"team_member_id": "dbmid:efgh5678"
},
"keep_account": false
}user UserSelectorArg Identity of user to remove/suspend.team_member_id String
external_id String(max_length=64)
email String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$")
wipe_data Boolean If provided, controls if the user's data will be deleted on their linked devices. The default for this field is True.
transfer_dest_id UserSelectorArg? If provided, files from the deleted member account will be transferred to this user. This field is optional.team_member_id String
external_id String(max_length=64)
email String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$")
transfer_admin_id UserSelectorArg? If provided, errors during the transfer process will be sent via email to this user. If the transfer_dest_id argument was provided, then this argument must be provided as well. This field is optional.team_member_id String
external_id String(max_length=64)
email String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$")
keep_account Boolean Downgrade the member to a Basic account. The user will retain the email address associated with their Dropbox account and data in their account that is not restricted to team members. In order to keep the account the argument wipe_data should be set to False. The default for this field is False.
{
".tag": "complete"
}
{
".tag": "async_job_id",
"async_job_id": "34g93hh34h04y384084"
}async_job_id String(min_length=1) This response indicates that the processing is asynchronous. The string is an id that can be used to obtain the status of the asynchronous job.
complete Void The job finished synchronously and successfully.
{
"error_summary": "user_not_found/...",
"error": {
".tag": "user_not_found"
}
}
{
"error_summary": "user_not_in_team/...",
"error": {
".tag": "user_not_in_team"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}
{
"error_summary": "remove_last_admin/...",
"error": {
".tag": "remove_last_admin"
}
}
{
"error_summary": "removed_and_transfer_dest_should_differ/...",
"error": {
".tag": "removed_and_transfer_dest_should_differ"
}
}
{
"error_summary": "removed_and_transfer_admin_should_differ/...",
"error": {
".tag": "removed_and_transfer_admin_should_differ"
}
}
{
"error_summary": "transfer_dest_user_not_found/...",
"error": {
".tag": "transfer_dest_user_not_found"
}
}
{
"error_summary": "transfer_dest_user_not_in_team/...",
"error": {
".tag": "transfer_dest_user_not_in_team"
}
}
{
"error_summary": "transfer_admin_user_not_found/...",
"error": {
".tag": "transfer_admin_user_not_found"
}
}
{
"error_summary": "transfer_admin_user_not_in_team/...",
"error": {
".tag": "transfer_admin_user_not_in_team"
}
}
{
"error_summary": "unspecified_transfer_admin_id/...",
"error": {
".tag": "unspecified_transfer_admin_id"
}
}
{
"error_summary": "transfer_admin_is_not_admin/...",
"error": {
".tag": "transfer_admin_is_not_admin"
}
}
{
"error_summary": "cannot_keep_account_and_transfer/...",
"error": {
".tag": "cannot_keep_account_and_transfer"
}
}
{
"error_summary": "cannot_keep_account_and_delete_data/...",
"error": {
".tag": "cannot_keep_account_and_delete_data"
}
}
{
"error_summary": "email_address_too_long_to_be_disabled/...",
"error": {
".tag": "email_address_too_long_to_be_disabled"
}
}user_not_found Void No matching user found. The provided team_member_id, email, or external_id does not exist on this team.
user_not_in_team Void The user is not a member of the team.
remove_last_admin Void The user is the last admin of the team, so it cannot be removed from it.
removed_and_transfer_dest_should_differ Void Expected removed user and transfer_dest user to be different
removed_and_transfer_admin_should_differ Void Expected removed user and transfer_admin user to be different.
transfer_dest_user_not_found Void No matching user found for the argument transfer_dest_id.
transfer_dest_user_not_in_team Void The provided transfer_dest_id does not exist on this team.
transfer_admin_user_not_found Void No matching user found for the argument transfer_admin_id.
transfer_admin_user_not_in_team Void The provided transfer_admin_id does not exist on this team.
unspecified_transfer_admin_id Void The transfer_admin_id argument must be provided when file transfer is requested.
transfer_admin_is_not_admin Void Specified transfer_admin user is not a team admin.
cannot_keep_account_and_transfer Void Cannot keep account and transfer the data to another user at the same time.
cannot_keep_account_and_delete_data Void Cannot keep account and delete the data at the same time. To keep the account the argument wipe_data should be set to False.
email_address_too_long_to_be_disabled Void The email address of the user is too long to be disabled.
Once an async_job_id is returned from members/remove , use this to poll the status of the asynchronous request.
Permission : Team member management
https://api.dropboxapi.com/2/team/members/remove/job_status/get
curl -X POST https://api.dropboxapi.com/2/team/members/remove/job_status/get \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"async_job_id\": \"34g93hh34h04y384084\"}"
{
"async_job_id": "34g93hh34h04y384084"
}async_job_id String(min_length=1) Id of the asynchronous job. This is the value of a response returned from the method that launched the job.
{
".tag": "complete"
}
{
".tag": "in_progress"
}in_progress Void The asynchronous job is still in progress.
complete Void The asynchronous job has completed successfully.
{
"error_summary": "invalid_async_job_id/...",
"error": {
".tag": "invalid_async_job_id"
}
}
{
"error_summary": "internal_error/...",
"error": {
".tag": "internal_error"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}invalid_async_job_id Void The job ID is invalid.
internal_error Void Something went wrong with the job on Dropbox's end. You'll need to verify that the action you were taking succeeded, and if not, try again. This should happen very rarely.
Sends welcome email to pending team member.
Permission : Team member management
Exactly one of team_member_id, email, or external_id must be provided to identify the user account.
No-op if team member is not pending.
https://api.dropboxapi.com/2/team/members/send_welcome_email
curl -X POST https://api.dropboxapi.com/2/team/members/send_welcome_email \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\".tag\": \"team_member_id\",\"team_member_id\": \"dbmid:efgh5678\"}"
{
".tag": "team_member_id",
"team_member_id": "dbmid:efgh5678"
}
{
".tag": "email",
"email": "dan@hotmail.com"
}team_member_id String
external_id String(max_length=64)
email String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$")
No return values.
{
"error_summary": "user_not_found/...",
"error": {
".tag": "user_not_found"
}
}
{
"error_summary": "user_not_in_team/...",
"error": {
".tag": "user_not_in_team"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}user_not_found Void No matching user found. The provided team_member_id, email, or external_id does not exist on this team.
user_not_in_team Void The user is not a member of the team.
Updates a team member's permissions.
Permission : Team member management
https://api.dropboxapi.com/2/team/members/set_admin_permissions
curl -X POST https://api.dropboxapi.com/2/team/members/set_admin_permissions \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"user\": {\".tag\": \"team_member_id\",\"team_member_id\": \"dbmid:efgh5678\"},\"new_role\": \"member_only\"}"
{
"user": {
".tag": "team_member_id",
"team_member_id": "dbmid:efgh5678"
},
"new_role": "member_only"
}user UserSelectorArg Identity of user whose role will be set.team_member_id String
external_id String(max_length=64)
email String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$")
new_role AdminTier The new role of the member.team_admin Void User is an administrator of the team - has all permissions.
user_management_admin Void User can do most user provisioning, de-provisioning and management.
support_admin Void User can do a limited set of common support tasks for existing users.
member_only Void User is not an admin of the team.
{
"team_member_id": "dbmid:9978889",
"role": {
".tag": "member_only"
}
}team_member_id String The member ID of the user to which the change was applied.
role AdminTier The role after the change.team_admin Void User is an administrator of the team - has all permissions.
user_management_admin Void User can do most user provisioning, de-provisioning and management.
support_admin Void User can do a limited set of common support tasks for existing users.
member_only Void User is not an admin of the team.
{
"error_summary": "user_not_found/...",
"error": {
".tag": "user_not_found"
}
}
{
"error_summary": "last_admin/...",
"error": {
".tag": "last_admin"
}
}
{
"error_summary": "user_not_in_team/...",
"error": {
".tag": "user_not_in_team"
}
}
{
"error_summary": "cannot_set_permissions/...",
"error": {
".tag": "cannot_set_permissions"
}
}
{
"error_summary": "team_license_limit/...",
"error": {
".tag": "team_license_limit"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}user_not_found Void No matching user found. The provided team_member_id, email, or external_id does not exist on this team.
last_admin Void Cannot remove the admin setting of the last admin.
user_not_in_team Void The user is not a member of the team.
cannot_set_permissions Void Cannot remove/grant permissions.
team_license_limit Void Team is full. The organization has no available licenses.
Updates a team member's profile.
Permission : Team member management
https://api.dropboxapi.com/2/team/members/set_profile
curl -X POST https://api.dropboxapi.com/2/team/members/set_profile \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"user\": {\".tag\": \"team_member_id\",\"team_member_id\": \"dbmid:efgh5678\"},\"new_email\": \"t.smith@domain.com\",\"new_surname\": \"Smith\"}"
{
"user": {
".tag": "team_member_id",
"team_member_id": "dbmid:efgh5678"
},
"new_email": "t.smith@domain.com",
"new_surname": "Smith"
}user UserSelectorArg Identity of user whose profile will be set.team_member_id String
external_id String(max_length=64)
email String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$")
new_email String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$")? New email for member. This field is optional.
new_external_id String(max_length=64)? New external ID for member. This field is optional.
new_given_name String(min_length=1, max_length=100, pattern="[^/:?*<>"|]*")? New given name for member. This field is optional.
new_surname String(min_length=1, max_length=100, pattern="[^/:?*<>"|]*")? New surname for member. This field is optional.
{
"profile": {
"team_member_id": "dbmid:FDFSVF-DFSDF",
"email": "tami@seagull.com",
"email_verified": false,
"status": {
".tag": "active"
},
"name": {
"given_name": "Franz",
"surname": "Ferdinand",
"familiar_name": "Franz",
"display_name": "Franz Ferdinand (Personal)",
"abbreviated_name": "FF"
},
"membership_type": {
".tag": "full"
},
"groups": [
"g:e2db7665347abcd600000000001a2b3c"
],
"external_id": "244423",
"account_id": "dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc"
},
"role": {
".tag": "member_only"
}
}profile TeamMemberProfile Profile of a user as a member of a team.team_member_id String ID of user as a member of a team.
email String Email address of user.
email_verified Boolean Is true if the user's email is verified to be owned by the user.
status TeamMemberStatus The user's status as a member of a specific team.active Void User has successfully joined the team.
invited Void User has been invited to a team, but has not joined the team yet.
suspended Void User is no longer a member of the team, but the account can be un-suspended, re-establishing the user as a team member.
removed RemovedStatus User is no longer a member of the team. Removed users are only listed when include_removed is true in members/list.is_recoverable Boolean True if the removed team member is recoverable
name Name Representations for a person's name.given_name String Also known as a first name.
surname String Also known as a last name or family name.
familiar_name String Locale-dependent name. In the US, a person's familiar name is their given_name, but elsewhere, it could be any combination of a person's given_name and surname.
display_name String A name that can be used directly to represent the name of a user's Dropbox account.
abbreviated_name String An abbreviated form of the person's name. Their initials in most locales.
membership_type TeamMembershipType The user's membership type: full (normal team member) vs limited (does not use a license; no access to the team's shared quota).full Void User uses a license and has full access to team resources like the shared quota.
limited Void User does not have access to the shared quota and team admins have restricted administrative control.
groups List of (String) List of group IDs of groups that the user belongs to.
external_id String? External ID that a team can attach to the user. An application using the API may find it easier to use their own IDs instead of Dropbox IDs like account_id or team_member_id. This field is optional.
account_id String(min_length=40, max_length=40)? A user's account identifier. This field is optional.
role AdminTier The user's role in the team.team_admin Void User is an administrator of the team - has all permissions.
user_management_admin Void User can do most user provisioning, de-provisioning and management.
support_admin Void User can do a limited set of common support tasks for existing users.
member_only Void User is not an admin of the team.
{
"error_summary": "user_not_found/...",
"error": {
".tag": "user_not_found"
}
}
{
"error_summary": "user_not_in_team/...",
"error": {
".tag": "user_not_in_team"
}
}
{
"error_summary": "external_id_and_new_external_id_unsafe/...",
"error": {
".tag": "external_id_and_new_external_id_unsafe"
}
}
{
"error_summary": "no_new_data_specified/...",
"error": {
".tag": "no_new_data_specified"
}
}
{
"error_summary": "email_reserved_for_other_user/...",
"error": {
".tag": "email_reserved_for_other_user"
}
}
{
"error_summary": "external_id_used_by_other_user/...",
"error": {
".tag": "external_id_used_by_other_user"
}
}
{
"error_summary": "set_profile_disallowed/...",
"error": {
".tag": "set_profile_disallowed"
}
}
{
"error_summary": "param_cannot_be_empty/...",
"error": {
".tag": "param_cannot_be_empty"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}user_not_found Void No matching user found. The provided team_member_id, email, or external_id does not exist on this team.
user_not_in_team Void The user is not a member of the team.
external_id_and_new_external_id_unsafe Void It is unsafe to use both external_id and new_external_id
no_new_data_specified Void None of new_email, new_given_name, new_surname, or new_external_id are specified
email_reserved_for_other_user Void Email is already reserved for another user.
external_id_used_by_other_user Void The external ID is already in use by another team member.
set_profile_disallowed Void Setting profile disallowed
param_cannot_be_empty Void Parameter new_email cannot be empty.
Suspend a member from a team.
Permission : Team member management
Exactly one of team_member_id, email, or external_id must be provided to identify the user account.
https://api.dropboxapi.com/2/team/members/suspend
curl -X POST https://api.dropboxapi.com/2/team/members/suspend \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"user\": {\".tag\": \"team_member_id\",\"team_member_id\": \"dbmid:efgh5678\"},\"wipe_data\": false}"
{
"user": {
".tag": "team_member_id",
"team_member_id": "dbmid:efgh5678"
},
"wipe_data": false
}user UserSelectorArg Identity of user to remove/suspend.team_member_id String
external_id String(max_length=64)
email String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$")
wipe_data Boolean If provided, controls if the user's data will be deleted on their linked devices. The default for this field is True.
No return values.
{
"error_summary": "user_not_found/...",
"error": {
".tag": "user_not_found"
}
}
{
"error_summary": "user_not_in_team/...",
"error": {
".tag": "user_not_in_team"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}
{
"error_summary": "suspend_inactive_user/...",
"error": {
".tag": "suspend_inactive_user"
}
}
{
"error_summary": "suspend_last_admin/...",
"error": {
".tag": "suspend_last_admin"
}
}
{
"error_summary": "team_license_limit/...",
"error": {
".tag": "team_license_limit"
}
}user_not_found Void No matching user found. The provided team_member_id, email, or external_id does not exist on this team.
user_not_in_team Void The user is not a member of the team.
suspend_inactive_user Void The user is not active, so it cannot be suspended.
suspend_last_admin Void The user is the last admin of the team, so it cannot be suspended.
team_license_limit Void Team is full. The organization has no available licenses.
Unsuspend a member from a team.
Permission : Team member management
Exactly one of team_member_id, email, or external_id must be provided to identify the user account.
https://api.dropboxapi.com/2/team/members/unsuspend
curl -X POST https://api.dropboxapi.com/2/team/members/unsuspend \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"user\": {\".tag\": \"team_member_id\",\"team_member_id\": \"dbmid:efgh5678\"}}"
{
"user": {
".tag": "team_member_id",
"team_member_id": "dbmid:efgh5678"
}
}user UserSelectorArg Identity of user to unsuspend.team_member_id String
external_id String(max_length=64)
email String(max_length=255, pattern="^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$")
No return values.
{
"error_summary": "user_not_found/...",
"error": {
".tag": "user_not_found"
}
}
{
"error_summary": "user_not_in_team/...",
"error": {
".tag": "user_not_in_team"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}
{
"error_summary": "unsuspend_non_suspended_member/...",
"error": {
".tag": "unsuspend_non_suspended_member"
}
}
{
"error_summary": "team_license_limit/...",
"error": {
".tag": "team_license_limit"
}
}user_not_found Void No matching user found. The provided team_member_id, email, or external_id does not exist on this team.
user_not_in_team Void The user is not a member of the team.
unsuspend_non_suspended_member Void The user is unsuspended, so it cannot be unsuspended again.
team_license_limit Void Team is full. The organization has no available licenses.
Retrieves reporting data about a team's user activity.
https://api.dropboxapi.com/2/team/reports/get_activity
start_date Timestamp(format="%Y-%m-%d")? Optional starting date (inclusive) This field is optional.
end_date Timestamp(format="%Y-%m-%d")? Optional ending date (exclusive) This field is optional.
start_date String First date present in the results as 'YYYY-MM-DD' or None.
adds List of (UInt64?) Array of total number of adds by team members. This field is optional.
edits List of (UInt64?) Array of number of edits by team members. If the same user edits the same file multiple times this is counted as a single edit. This field is optional.
deletes List of (UInt64?) Array of total number of deletes by team members. This field is optional.
active_users_28_day List of (UInt64?) Array of the number of users who have been active in the last 28 days. This field is optional.
active_users_7_day List of (UInt64?) Array of the number of users who have been active in the last week. This field is optional.
active_users_1_day List of (UInt64?) Array of the number of users who have been active in the last day. This field is optional.
active_shared_folders_28_day List of (UInt64?) Array of the number of shared folders with some activity in the last 28 days. This field is optional.
active_shared_folders_7_day List of (UInt64?) Array of the number of shared folders with some activity in the last week. This field is optional.
active_shared_folders_1_day List of (UInt64?) Array of the number of shared folders with some activity in the last day. This field is optional.
shared_links_created List of (UInt64?) Array of the number of shared links created. This field is optional.
shared_links_viewed_by_team List of (UInt64?) Array of the number of views by team users to shared links created by the team. This field is optional.
shared_links_viewed_by_outside_user List of (UInt64?) Array of the number of views by users outside of the team to shared links created by the team. This field is optional.
shared_links_viewed_by_not_logged_in List of (UInt64?) Array of the number of views by non-logged-in users to shared links created by the team. This field is optional.
shared_links_viewed_total List of (UInt64?) Array of the total number of views to shared links created by the team. This field is optional.
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}Retrieves reporting data about a team's linked devices.
https://api.dropboxapi.com/2/team/reports/get_devices
start_date Timestamp(format="%Y-%m-%d")? Optional starting date (inclusive) This field is optional.
end_date Timestamp(format="%Y-%m-%d")? Optional ending date (exclusive) This field is optional.
start_date String First date present in the results as 'YYYY-MM-DD' or None.
active_1_day DevicesActive Report of the number of devices active in the last day.windows List of (UInt64?) Array of number of linked windows (desktop) clients with activity. This field is optional.
macos List of (UInt64?) Array of number of linked mac (desktop) clients with activity. This field is optional.
linux List of (UInt64?) Array of number of linked linus (desktop) clients with activity. This field is optional.
ios List of (UInt64?) Array of number of linked ios devices with activity. This field is optional.
android List of (UInt64?) Array of number of linked android devices with activity. This field is optional.
other List of (UInt64?) Array of number of other linked devices (blackberry, windows phone, etc) with activity. This field is optional.
total List of (UInt64?) Array of total number of linked clients with activity. This field is optional.
active_7_day DevicesActive Report of the number of devices active in the last 7 days.windows List of (UInt64?) Array of number of linked windows (desktop) clients with activity. This field is optional.
macos List of (UInt64?) Array of number of linked mac (desktop) clients with activity. This field is optional.
linux List of (UInt64?) Array of number of linked linus (desktop) clients with activity. This field is optional.
ios List of (UInt64?) Array of number of linked ios devices with activity. This field is optional.
android List of (UInt64?) Array of number of linked android devices with activity. This field is optional.
other List of (UInt64?) Array of number of other linked devices (blackberry, windows phone, etc) with activity. This field is optional.
total List of (UInt64?) Array of total number of linked clients with activity. This field is optional.
active_28_day DevicesActive Report of the number of devices active in the last 28 days.windows List of (UInt64?) Array of number of linked windows (desktop) clients with activity. This field is optional.
macos List of (UInt64?) Array of number of linked mac (desktop) clients with activity. This field is optional.
linux List of (UInt64?) Array of number of linked linus (desktop) clients with activity. This field is optional.
ios List of (UInt64?) Array of number of linked ios devices with activity. This field is optional.
android List of (UInt64?) Array of number of linked android devices with activity. This field is optional.
other List of (UInt64?) Array of number of other linked devices (blackberry, windows phone, etc) with activity. This field is optional.
total List of (UInt64?) Array of total number of linked clients with activity. This field is optional.
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}Retrieves reporting data about a team's membership.
https://api.dropboxapi.com/2/team/reports/get_membership
start_date Timestamp(format="%Y-%m-%d")? Optional starting date (inclusive) This field is optional.
end_date Timestamp(format="%Y-%m-%d")? Optional ending date (exclusive) This field is optional.
start_date String First date present in the results as 'YYYY-MM-DD' or None.
team_size List of (UInt64?) Team size, for each day. This field is optional.
pending_invites List of (UInt64?) The number of pending invites to the team, for each day. This field is optional.
members_joined List of (UInt64?) The number of members that joined the team, for each day. This field is optional.
suspended_members List of (UInt64?) The number of suspended team members, for each day. This field is optional.
licenses List of (UInt64?) The total number of licenses the team has, for each day. This field is optional.
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}Retrieves reporting data about a team's storage usage.
https://api.dropboxapi.com/2/team/reports/get_storage
start_date Timestamp(format="%Y-%m-%d")? Optional starting date (inclusive) This field is optional.
end_date Timestamp(format="%Y-%m-%d")? Optional ending date (exclusive) This field is optional.
start_date String First date present in the results as 'YYYY-MM-DD' or None.
total_usage List of (UInt64?) Sum of the shared, unshared, and datastore usages, for each day. This field is optional.
shared_usage List of (UInt64?) Array of the combined size (bytes) of team members' shared folders, for each day. This field is optional.
unshared_usage List of (UInt64?) Array of the combined size (bytes) of team members' root namespaces, for each day. This field is optional.
shared_folders List of (UInt64?) Array of the number of shared folders owned by team members, for each day. This field is optional.
member_storage_map List of (List of (StorageBucket)) Array of storage summaries of team members' account sizes. Each storage summary is an array of key, value pairs, where each pair describes a storage bucket. The key indicates the upper bound of the bucket and the value is the number of users in that bucket. There is one such summary per day. If there is no data for a day, the storage summary will be empty.bucket String The name of the storage bucket. For example, '1G' is a bucket of users with storage size up to 1 Giga.
users UInt64 The number of people whose storage is in the range of this storage bucket.
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}Sets an archived team folder's status to active. This endpoint is only available to teams with improved team folders.
Permission : Team member file access.
https://api.dropboxapi.com/2/team/team_folder/activate
curl -X POST https://api.dropboxapi.com/2/team/team_folder/activate \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"team_folder_id\": \"123456789\"}"
{
"team_folder_id": "123456789"
}team_folder_id String(pattern="[-_0-9a-zA-Z:]+") The ID of the team folder.
{
"team_folder_id": "123456789",
"name": "Marketing",
"status": {
".tag": "active"
}
}team_folder_id String(pattern="[-_0-9a-zA-Z:]+") The ID of the team folder.
name String The name of the team folder.
status TeamFolderStatus The status of the team folder.active Void The team folder and sub-folders are available to all members.
archived Void The team folder is not accessible outside of the team folder manager.
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}access_error TeamFolderAccessError invalid_team_folder_id Void The team folder ID is invalid.
no_access Void The authenticated app does not have permission to manage that team folder.
status_error TeamFolderInvalidStatusError active Void The folder is active and the operation did not succeed.
archived Void The folder is archived and the operation did not succeed.
Sets an active team folder's status to archived and removes all folder and file members. This endpoint is only available to teams with improved team folders.
Permission : Team member file access.
https://api.dropboxapi.com/2/team/team_folder/archive
curl -X POST https://api.dropboxapi.com/2/team/team_folder/archive \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"team_folder_id\": \"123456789\",\"force_async_off\": false}"
{
"team_folder_id": "123456789",
"force_async_off": false
}team_folder_id String(pattern="[-_0-9a-zA-Z:]+") The ID of the team folder.
force_async_off Boolean Whether to force the archive to happen synchronously. The default for this field is False.
{
".tag": "complete",
"team_folder_id": "123456789",
"name": "Marketing",
"status": {
".tag": "active"
}
}async_job_id String(min_length=1) This response indicates that the processing is asynchronous. The string is an id that can be used to obtain the status of the asynchronous job.
complete TeamFolderMetadata team_folder_id String(pattern="[-_0-9a-zA-Z:]+") The ID of the team folder.
name String The name of the team folder.
status TeamFolderStatus The status of the team folder.active Void The team folder and sub-folders are available to all members.
archived Void The team folder is not accessible outside of the team folder manager.
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}access_error TeamFolderAccessError invalid_team_folder_id Void The team folder ID is invalid.
no_access Void The authenticated app does not have permission to manage that team folder.
status_error TeamFolderInvalidStatusError active Void The folder is active and the operation did not succeed.
archived Void The folder is archived and the operation did not succeed.
Returns the status of an asynchronous job for archiving a team folder. This endpoint is only available to teams with improved team folders.
Permission : Team member file access.
https://api.dropboxapi.com/2/team/team_folder/archive/check
curl -X POST https://api.dropboxapi.com/2/team/team_folder/archive/check \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"async_job_id\": \"34g93hh34h04y384084\"}"
{
"async_job_id": "34g93hh34h04y384084"
}async_job_id String(min_length=1) Id of the asynchronous job. This is the value of a response returned from the method that launched the job.
{
".tag": "complete",
"team_folder_id": "123456789",
"name": "Marketing",
"status": {
".tag": "active"
}
}
{
".tag": "in_progress"
}in_progress Void The asynchronous job is still in progress.
complete TeamFolderMetadata The archive job has finished. The value is the metadata for the resulting team folder.team_folder_id String(pattern="[-_0-9a-zA-Z:]+") The ID of the team folder.
name String The name of the team folder.
status TeamFolderStatus The status of the team folder.active Void The team folder and sub-folders are available to all members.
archived Void The team folder is not accessible outside of the team folder manager.
failed TeamFolderArchiveError Error occurred while performing an asynchronous job from team_folder/archive.access_error TeamFolderAccessError invalid_team_folder_id Void The team folder ID is invalid.
no_access Void The authenticated app does not have permission to manage that team folder.
status_error TeamFolderInvalidStatusError active Void The folder is active and the operation did not succeed.
archived Void The folder is archived and the operation did not succeed.
{
"error_summary": "invalid_async_job_id/...",
"error": {
".tag": "invalid_async_job_id"
}
}
{
"error_summary": "internal_error/...",
"error": {
".tag": "internal_error"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}invalid_async_job_id Void The job ID is invalid.
internal_error Void Something went wrong with the job on Dropbox's end. You'll need to verify that the action you were taking succeeded, and if not, try again. This should happen very rarely.
Creates a new, active, team folder. This endpoint is only available to teams with improved team folders.
Permission : Team member file access.
https://api.dropboxapi.com/2/team/team_folder/create
curl -X POST https://api.dropboxapi.com/2/team/team_folder/create \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"name\": \"Marketing\"}"
{
"name": "Marketing"
}name String Name for the new team folder.
{
"team_folder_id": "123456789",
"name": "Marketing",
"status": {
".tag": "active"
}
}team_folder_id String(pattern="[-_0-9a-zA-Z:]+") The ID of the team folder.
name String The name of the team folder.
status TeamFolderStatus The status of the team folder.active Void The team folder and sub-folders are available to all members.
archived Void The team folder is not accessible outside of the team folder manager.
{
"error_summary": "invalid_folder_name/...",
"error": {
".tag": "invalid_folder_name"
}
}
{
"error_summary": "folder_name_already_used/...",
"error": {
".tag": "folder_name_already_used"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}invalid_folder_name Void The provided name cannot be used.
folder_name_already_used Void There is already a team folder with the provided name.
Retrieves metadata for team folders. This endpoint is only available to teams with improved team folders.
Permission : Team member file access.
https://api.dropboxapi.com/2/team/team_folder/get_info
curl -X POST https://api.dropboxapi.com/2/team/team_folder/get_info \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"team_folder_ids\": [\"947182\",\"5819424\",\"852307532\"]}"
{
"team_folder_ids": [
"947182",
"5819424",
"852307532"
]
}team_folder_ids List of (String(pattern="[-_0-9a-zA-Z:]+"), min_items=1) The list of team folder IDs.
id_not_found String An ID that was provided as a parameter to team_folder/get_info did not match any of the team's team folders.
team_folder_metadata TeamFolderMetadata Properties of a team folder.team_folder_id String(pattern="[-_0-9a-zA-Z:]+") The ID of the team folder.
name String The name of the team folder.
status TeamFolderStatus The status of the team folder.active Void The team folder and sub-folders are available to all members.
archived Void The team folder is not accessible outside of the team folder manager.
No errors.
Lists all team folders. This endpoint is only available to teams with improved team folders.
Permission : Team member file access.
https://api.dropboxapi.com/2/team/team_folder/list
curl -X POST https://api.dropboxapi.com/2/team/team_folder/list \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"limit\": 100}"
{
"limit": 100
}limit UInt32 The maximum number of results to return per request. The default for this field is 1000.
{
"team_folders": [
{
"team_folder_id": "123456789",
"name": "Marketing",
"status": {
".tag": "active"
}
}
]
}team_folders List of (TeamFolderMetadata) List of all team folders in the authenticated team.team_folder_id String(pattern="[-_0-9a-zA-Z:]+") The ID of the team folder.
name String The name of the team folder.
status TeamFolderStatus The status of the team folder.active Void The team folder and sub-folders are available to all members.
archived Void The team folder is not accessible outside of the team folder manager.
access_error TeamFolderAccessError invalid_team_folder_id Void The team folder ID is invalid.
no_access Void The authenticated app does not have permission to manage that team folder.
Permanently deletes an archived team folder. This endpoint is only available to teams with improved team folders.
Permission : Team member file access.
https://api.dropboxapi.com/2/team/team_folder/permanently_delete
curl -X POST https://api.dropboxapi.com/2/team/team_folder/permanently_delete \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"team_folder_id\": \"123456789\"}"
{
"team_folder_id": "123456789"
}team_folder_id String(pattern="[-_0-9a-zA-Z:]+") The ID of the team folder.
No return values.
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}access_error TeamFolderAccessError invalid_team_folder_id Void The team folder ID is invalid.
no_access Void The authenticated app does not have permission to manage that team folder.
status_error TeamFolderInvalidStatusError active Void The folder is active and the operation did not succeed.
archived Void The folder is archived and the operation did not succeed.
Changes an active team folder's name. This endpoint is only available to teams with improved team folders.
Permission : Team member file access.
https://api.dropboxapi.com/2/team/team_folder/rename
curl -X POST https://api.dropboxapi.com/2/team/team_folder/rename \
--header "Authorization: Bearer " \
--header "Content-Type: application/json" \
--data "{\"team_folder_id\": \"123456789\",\"name\": \"Sales\"}"
{
"team_folder_id": "123456789",
"name": "Sales"
}team_folder_id String(pattern="[-_0-9a-zA-Z:]+") The ID of the team folder.
name String New team folder name.
{
"team_folder_id": "123456789",
"name": "Marketing",
"status": {
".tag": "active"
}
}team_folder_id String(pattern="[-_0-9a-zA-Z:]+") The ID of the team folder.
name String The name of the team folder.
status TeamFolderStatus The status of the team folder.active Void The team folder and sub-folders are available to all members.
archived Void The team folder is not accessible outside of the team folder manager.
{
"error_summary": "invalid_folder_name/...",
"error": {
".tag": "invalid_folder_name"
}
}
{
"error_summary": "folder_name_already_used/...",
"error": {
".tag": "folder_name_already_used"
}
}
{
"error_summary": "other/...",
"error": {
".tag": "other"
}
}access_error TeamFolderAccessError invalid_team_folder_id Void The team folder ID is invalid.
no_access Void The authenticated app does not have permission to manage that team folder.
invalid_folder_name Void The provided folder name cannot be used.
folder_name_already_used Void There is already a team folder with the same name.