Dropbox Team API

The Team API from Dropbox — 12 operation(s) for team.

OpenAPI Specification

dropbox-team-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  title: Dropbox API Reference Account Team API
  description: "The powerful, yet simple, Dropbox API allows you to manage and control content and team settings programmatically and extend Dropbox capabilities in new and powerful ways. This is a collection that includes requests to all endpoints in the Dropbox API. \n\nThe Dropbox API is divided in two groups of endpoints: User Endpoints and Business Endpoints. Operations that would most likely be executed by a user, such as file operations, are in the User Endpoints folder. Operations that would most likely be executed by a team administrator, such as adding users to groups, live in the Business Endpoints folder. \n\nIf you are new to Dropbox Business and Team Administration, please have a look at the [Dropobox Admin Guide](https://help.dropbox.com/guide/admin/how-to-get-started#dropbox-admin-guide). \n\nIf you want more information on how to use our API please refer to our [Developer Portal](https://www.dropbox.com/developers). \n\n# What's in the collection?\n\nThe endpoints are organized in the following folders:\n* account\n* auth\n* check\n* contacts\n* file_properties\n* file_requests\n* files\n* sharing\n* team\n* team_log\n* users\n\n# Authorization\n\n## OAuth 2.0 for API Access\nDropbox uses OAuth 2.0, an open specification, to authorize access to data. To get an OAuth token from Dropbox to enable Postman to access your Dropbox account via the API you’ll need to create a new app on the DBX Platform.\n\n## Creating an App on the DBX Platform\nNavigate to https://www.dropbox.com/developers/apps and select “Create app” \n1. Choose an API  \n2. Choose the type of access you need \n3. Give your app a name  \n4. Choose the Dropbox account that will own your app  \n\nFor reference, please use the [Dropbox OAuth guide](https://www.dropbox.com/lp/developers/reference/oauth-guide) \n\n## Generating an Access Token\nOnce you select “Create app” a page will load that displays information about your newly created app. To generate an access token scroll down to “OAuth 2” and click “Generate” beneath “Generated access token.” The token will display as a long string of characters. Copy this token for use with the Postman Collection.\n\n## Adding an Access Token to the requests\nIn the Postman client, click on the three dots to the right of the collection name to \"View more actions.\"\n\n![Screenshot of adding access token](https://www.dropbox.com/s/sfebu9ai76cbq39/Screen%20Shot%202020-10-28%20at%2012.50.56%20AM.png?raw=1)\n\nThen, click \"Edit.\"\n\nClick on the \"Variables\" tab and, in the row for the `access_token` variable, paste your access token in the `CURRENT VALUE` column. The default value is `your-access-token-here`.\n\n![Screenshot of adding access token](https://www.dropbox.com/s/ahnbxwe6oscjues/Screen%20Shot%202020-10-28%20at%2012.51.13%20AM.png?raw=1)\n\nFor information on sessions and variables in Postman see the blog post at https://blog.postman.com/sessions-faq/.\n\n# Notes\n* Dropbox also has a Postman Collection in the API Network to help administrators with team management workflows. It is called [Dropbox Team Admin Workflows](). \n\n"
  version: 1.0.0
servers:
- url: https://api.dropbox.com
security:
- bearerAuth: []
tags:
- name: Team
paths:
  /2/team/features/get_values:
    post:
      tags:
      - Team
      summary: Dropbox features/get_values
      description: '[features/get_values](https://www.dropbox.com/developers/documentation/http/teams#team-features-get_values)


        scope: `team_info.read`


        Get the values for one or more featues. This route allows you to check your account''s capability for what feature you can access or what value you have for certain features.

        Permission : Team information.'
      requestBody:
        content:
          '*/*':
            schema:
              type: string
              example: '"{\n    \"features\": [\n        {\n            \".tag\": \"upload_api_rate_limit\"\n        }, \n        {\n            \".tag\": \"has_team_shared_dropbox\"\n        }\n    ]\n}"'
      parameters:
      - name: Content-Type
        in: header
        schema:
          type: string
        example: application/json
      responses:
        '200':
          description: OK
          headers:
            X-Dropbox-Request-Id:
              schema:
                type: integer
                example: '1234'
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                type: object
              example:
                values:
                - .tag: upload_api_rate_limit
                  upload_api_rate_limit:
                    .tag: limit
                    limit: 25000
                - .tag: has_team_shared_dropbox
                  has_team_shared_dropbox:
                    .tag: has_team_shared_dropbox
                    has_team_shared_dropbox: false
  /2/team/get_info:
    post:
      tags:
      - Team
      summary: Dropbox get_info
      description: '[get_info](https://www.dropbox.com/developers/documentation/http/teams#team-get_info)


        scope: `team_info.read`


        Retrieves information about a team.      '
      security:
      - bearerAuth: []
      responses:
        '200':
          description: OK
          headers:
            X-Dropbox-Request-Id:
              schema:
                type: integer
                example: '1234'
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                type: object
              example:
                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
                  office_addin:
                    .tag: disabled
  /2/team/token/get_authenticated_admin:
    post:
      tags:
      - Team
      summary: Dropbox token/get_authenticated_admin
      description: '[token/get_authenticated_admin](https://www.dropbox.com/developers/documentation/http/teams#team-token-get_authenticated_admin)


        scope: `team_info.read`


        Returns the member profile of the admin who generated the team access token used to make the call.      '
      responses:
        '200':
          description: OK
          headers:
            X-Dropbox-Request-Id:
              schema:
                type: integer
                example: '1234'
            Content-Type:
              schema:
                type: string
                example: application/json
          content:
            application/json:
              schema:
                type: object
              example:
                admin_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
                  member_folder_id: '20'
                  external_id: '244423'
                  account_id: dbid:AAH4f99T0taONIb-OurWxbNQ6ywGRopQngc
                  secondary_emails:
                  - email: grape@strawberry.com
                    is_verified: false
                  - email: apple@orange.com
                    is_verified: true
                  joined_on: '2015-05-12T15:50:38Z'
                  profile_photo_url: https://dl-web.dropbox.com/account_photo/get/dbaphid%3AAAHWGmIXV3sUuOmBfTz0wPsiqHUpBWvv3ZA?vers=1556069330102&size=128x128
  /team/add_member:
    put:
      tags:
      - Team
      summary: Dropbox _t__TeamAddMember::SUMMARY
      description: _t__TeamAddMember::DESCRIPTION
      operationId: teamAddMember
      parameters:
      - name: team_id
        in: query
        description: _t__TeamAddMember::TEAM_ID
        required: false
        schema:
          type: string
        example: 4fea99bfcf2b26bfccf6cea3e127fb8bb74d8d9c
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamAddMemberRequest'
            examples:
              email_address:
                $ref: '#/components/examples/TeamAddMemberRequestEmailAddressExample'
              account_id:
                $ref: '#/components/examples/TeamAddMemberRequestAccountIdExample'
      responses:
        '200':
          description: successful operation
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-Ratelimit-Reset:
              $ref: '#/components/headers/X-Ratelimit-Reset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamGetResponse'
              examples:
                default_example:
                  $ref: '#/components/examples/TeamAddMemberResponseExample'
        4XX:
          description: failed_operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                400_example:
                  $ref: '#/components/examples/Error400ResponseExample'
                401_example:
                  $ref: '#/components/examples/Error401ResponseExample'
                402_example:
                  $ref: '#/components/examples/Error402ResponseExample'
                403_example:
                  $ref: '#/components/examples/Error403ResponseExample'
                404_example:
                  $ref: '#/components/examples/Error404ResponseExample'
                4XX_example:
                  $ref: '#/components/examples/Error4XXResponseExample'
      security:
      - api_key: []
      - oauth2:
        - team_access
      x-codeSamples:
      - lang: PHP
        label: PHP
        source:
          $ref: examples/TeamAddMember.php
      - lang: C#
        label: C#
        source:
          $ref: examples/TeamAddMember.cs
      - lang: JavaScript
        label: JavaScript
        source:
          $ref: examples/TeamAddMember.js
      - lang: TypeScript
        label: TypeScript
        source:
          $ref: examples/TeamAddMember.ts
      - lang: Java
        label: Java
        source:
          $ref: examples/TeamAddMember.java
      - lang: Ruby
        label: Ruby
        source:
          $ref: examples/TeamAddMember.rb
      - lang: Python
        label: Python
        source:
          $ref: examples/TeamAddMember.py
      - lang: cURL
        label: cURL
        source:
          $ref: examples/TeamAddMember.sh
      x-meta:
        seo:
          title: _t__TeamAddMember::SEO::TITLE
          description: _t__TeamAddMember::SEO::DESCRIPTION
  /team/create:
    post:
      tags:
      - Team
      summary: Dropbox _t__TeamCreate::SUMMARY
      description: _t__TeamCreate::DESCRIPTION
      operationId: teamCreate
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamCreateRequest'
            examples:
              default_example:
                $ref: '#/components/examples/TeamCreateRequestDefaultExample'
      responses:
        '200':
          description: successful operation
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-Ratelimit-Reset:
              $ref: '#/components/headers/X-Ratelimit-Reset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamGetResponse'
              examples:
                default_example:
                  $ref: '#/components/examples/TeamCreateResponseExample'
        4XX:
          description: failed_operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                400_example:
                  $ref: '#/components/examples/Error400ResponseExample'
                401_example:
                  $ref: '#/components/examples/Error401ResponseExample'
                402_example:
                  $ref: '#/components/examples/Error402ResponseExample'
                403_example:
                  $ref: '#/components/examples/Error403ResponseExample'
                4XX_example:
                  $ref: '#/components/examples/Error4XXResponseExample'
      security:
      - api_key: []
      - oauth2:
        - team_access
      x-codeSamples:
      - lang: PHP
        label: PHP
        source:
          $ref: examples/TeamCreate.php
      - lang: C#
        label: C#
        source:
          $ref: examples/TeamCreate.cs
      - lang: JavaScript
        label: JavaScript
        source:
          $ref: examples/TeamCreate.js
      - lang: TypeScript
        label: TypeScript
        source:
          $ref: examples/TeamCreate.ts
      - lang: Java
        label: Java
        source:
          $ref: examples/TeamCreate.java
      - lang: Ruby
        label: Ruby
        source:
          $ref: examples/TeamCreate.rb
      - lang: Python
        label: Python
        source:
          $ref: examples/TeamCreate.py
      - lang: cURL
        label: cURL
        source:
          $ref: examples/TeamCreate.sh
      x-meta:
        seo:
          title: _t__TeamCreate::SEO::TITLE
          description: _t__TeamCreate::SEO::DESCRIPTION
  /team/destroy:
    delete:
      tags:
      - Team
      summary: Dropbox _t__TeamDelete::SUMMARY
      description: _t__TeamDelete::DESCRIPTION
      operationId: teamDelete
      responses:
        '200':
          description: successful operation
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-Ratelimit-Reset:
              $ref: '#/components/headers/X-Ratelimit-Reset'
        4XX:
          description: failed_operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                400_example:
                  $ref: '#/components/examples/Error400ResponseExample'
                401_example:
                  $ref: '#/components/examples/Error401ResponseExample'
                402_example:
                  $ref: '#/components/examples/Error402ResponseExample'
                403_example:
                  $ref: '#/components/examples/Error403ResponseExample'
                4XX_example:
                  $ref: '#/components/examples/Error4XXResponseExample'
      security:
      - api_key: []
      - oauth2:
        - team_access
      x-codeSamples:
      - lang: PHP
        label: PHP
        source:
          $ref: examples/TeamDelete.php
      - lang: C#
        label: C#
        source:
          $ref: examples/TeamDelete.cs
      - lang: JavaScript
        label: JavaScript
        source:
          $ref: examples/TeamDelete.js
      - lang: TypeScript
        label: TypeScript
        source:
          $ref: examples/TeamDelete.ts
      - lang: Java
        label: Java
        source:
          $ref: examples/TeamDelete.java
      - lang: Ruby
        label: Ruby
        source:
          $ref: examples/TeamDelete.rb
      - lang: Python
        label: Python
        source:
          $ref: examples/TeamDelete.py
      - lang: cURL
        label: cURL
        source:
          $ref: examples/TeamDelete.sh
      x-meta:
        seo:
          title: _t__TeamDelete::SEO::TITLE
          description: _t__TeamDelete::SEO::DESCRIPTION
  /team:
    get:
      tags:
      - Team
      summary: Dropbox _t__TeamGet::SUMMARY
      description: _t__TeamGet::DESCRIPTION
      operationId: teamGet
      responses:
        '200':
          description: successful operation
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-Ratelimit-Reset:
              $ref: '#/components/headers/X-Ratelimit-Reset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamGetResponse'
              examples:
                default_example:
                  $ref: '#/components/examples/TeamGetResponseExample'
        4XX:
          description: failed_operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                400_example:
                  $ref: '#/components/examples/Error400ResponseExample'
                401_example:
                  $ref: '#/components/examples/Error401ResponseExample'
                402_example:
                  $ref: '#/components/examples/Error402ResponseExample'
                403_example:
                  $ref: '#/components/examples/Error403ResponseExample'
                404_example:
                  $ref: '#/components/examples/TeamDoesNotExistResponseExample'
                4XX_example:
                  $ref: '#/components/examples/Error4XXResponseExample'
      security:
      - api_key: []
      - oauth2:
        - team_access
      x-codeSamples:
      - lang: PHP
        label: PHP
        source:
          $ref: examples/TeamGet.php
      - lang: C#
        label: C#
        source:
          $ref: examples/TeamGet.cs
      - lang: JavaScript
        label: JavaScript
        source:
          $ref: examples/TeamGet.js
      - lang: TypeScript
        label: TypeScript
        source:
          $ref: examples/TeamGet.ts
      - lang: Java
        label: Java
        source:
          $ref: examples/TeamGet.java
      - lang: Ruby
        label: Ruby
        source:
          $ref: examples/TeamGet.rb
      - lang: Python
        label: Python
        source:
          $ref: examples/TeamGet.py
      - lang: cURL
        label: cURL
        source:
          $ref: examples/TeamGet.sh
      x-meta:
        seo:
          title: _t__TeamGet::SEO::TITLE
          description: _t__TeamGet::SEO::DESCRIPTION
    put:
      tags:
      - Team
      summary: Dropbox _t__TeamUpdate::SUMMARY
      description: _t__TeamUpdate::DESCRIPTION
      operationId: teamUpdate
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamUpdateRequest'
            examples:
              default_example:
                $ref: '#/components/examples/TeamUpdateRequestDefaultExample'
      responses:
        '200':
          description: successful operation
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-Ratelimit-Reset:
              $ref: '#/components/headers/X-Ratelimit-Reset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamGetResponse'
              examples:
                default_example:
                  $ref: '#/components/examples/TeamUpdateResponseExample'
        4XX:
          description: failed_operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                400_example:
                  $ref: '#/components/examples/Error400ResponseExample'
                401_example:
                  $ref: '#/components/examples/Error401ResponseExample'
                402_example:
                  $ref: '#/components/examples/Error402ResponseExample'
                403_example:
                  $ref: '#/components/examples/Error403ResponseExample'
                4XX_example:
                  $ref: '#/components/examples/Error4XXResponseExample'
      security:
      - api_key: []
      - oauth2:
        - team_access
      x-codeSamples:
      - lang: PHP
        label: PHP
        source:
          $ref: examples/TeamUpdate.php
      - lang: C#
        label: C#
        source:
          $ref: examples/TeamUpdate.cs
      - lang: JavaScript
        label: JavaScript
        source:
          $ref: examples/TeamUpdate.js
      - lang: TypeScript
        label: TypeScript
        source:
          $ref: examples/TeamUpdate.ts
      - lang: Java
        label: Java
        source:
          $ref: examples/TeamUpdate.java
      - lang: Ruby
        label: Ruby
        source:
          $ref: examples/TeamUpdate.rb
      - lang: Python
        label: Python
        source:
          $ref: examples/TeamUpdate.py
      - lang: cURL
        label: cURL
        source:
          $ref: examples/TeamUpdate.sh
      x-meta:
        seo:
          title: _t__TeamUpdate::SEO::TITLE
          description: _t__TeamUpdate::SEO::DESCRIPTION
  /team/info:
    get:
      tags:
      - Team
      summary: Dropbox _t__TeamInfo::SUMMARY
      description: _t__TeamInfo::DESCRIPTION
      operationId: teamInfo
      parameters:
      - name: team_id
        in: query
        description: _t__TeamInfo::TEAM_ID
        required: false
        schema:
          type: string
        example: 4fea99bfcf2b26bfccf6cea3e127fb8bb74d8d9c
      responses:
        '200':
          description: successful operation
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-Ratelimit-Reset:
              $ref: '#/components/headers/X-Ratelimit-Reset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamGetInfoResponse'
              examples:
                default_example:
                  $ref: '#/components/examples/TeamGetInfoResponseExample'
        4XX:
          description: failed_operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                400_example:
                  $ref: '#/components/examples/Error400ResponseExample'
                401_example:
                  $ref: '#/components/examples/Error401ResponseExample'
                402_example:
                  $ref: '#/components/examples/Error402ResponseExample'
                403_example:
                  $ref: '#/components/examples/Error403ResponseExample'
                409_example:
                  $ref: '#/components/examples/Error409ResponseExample'
                429_example:
                  $ref: '#/components/examples/Error429ResponseExample'
                4XX_example:
                  $ref: '#/components/examples/Error4XXResponseExample'
      security:
      - api_key: []
      - oauth2:
        - team_access
      x-codeSamples:
      - lang: PHP
        label: PHP
        source:
          $ref: examples/TeamInfo.php
      - lang: C#
        label: C#
        source:
          $ref: examples/TeamInfo.cs
      - lang: JavaScript
        label: JavaScript
        source:
          $ref: examples/TeamInfo.js
      - lang: TypeScript
        label: TypeScript
        source:
          $ref: examples/TeamInfo.ts
      - lang: Java
        label: Java
        source:
          $ref: examples/TeamInfo.java
      - lang: Ruby
        label: Ruby
        source:
          $ref: examples/TeamInfo.rb
      - lang: Python
        label: Python
        source:
          $ref: examples/TeamInfo.py
      - lang: cURL
        label: cURL
        source:
          $ref: examples/TeamInfo.sh
      x-meta:
        seo:
          title: _t__TeamInfo::SEO::TITLE
          description: _t__TeamInfo::SEO::DESCRIPTION
  /team/invites:
    get:
      tags:
      - Team
      summary: Dropbox _t__TeamInvites::SUMMARY
      description: _t__TeamInvites::DESCRIPTION
      operationId: teamInvites
      parameters:
      - name: email_address
        in: query
        description: _t__TeamInvites::EMAIL_ADDRESS
        required: false
        schema:
          type: string
      responses:
        '200':
          description: successful operation
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-Ratelimit-Reset:
              $ref: '#/components/headers/X-Ratelimit-Reset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamInvitesResponse'
              examples:
                default_example:
                  $ref: '#/components/examples/TeamInvitesResponseExample'
        4XX:
          description: failed_operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                400_example:
                  $ref: '#/components/examples/Error400ResponseExample'
                401_example:
                  $ref: '#/components/examples/Error401ResponseExample'
                402_example:
                  $ref: '#/components/examples/Error402ResponseExample'
                403_example:
                  $ref: '#/components/examples/Error403ResponseExample'
                4XX_example:
                  $ref: '#/components/examples/Error4XXResponseExample'
      security:
      - api_key: []
      - oauth2:
        - account_access
        - basic_account_info
      x-codeSamples:
      - lang: PHP
        label: PHP
        source:
          $ref: examples/TeamInvites.php
      - lang: C#
        label: C#
        source:
          $ref: examples/TeamInvites.cs
      - lang: JavaScript
        label: JavaScript
        source:
          $ref: examples/TeamInvites.js
      - lang: TypeScript
        label: TypeScript
        source:
          $ref: examples/TeamInvites.ts
      - lang: Java
        label: Java
        source:
          $ref: examples/TeamInvites.java
      - lang: Ruby
        label: Ruby
        source:
          $ref: examples/TeamInvites.rb
      - lang: Python
        label: Python
        source:
          $ref: examples/TeamInvites.py
      - lang: cURL
        label: cURL
        source:
          $ref: examples/TeamInvites.sh
      x-meta:
        seo:
          title: _t__TeamInvites::SEO::TITLE
          description: _t__TeamInvites::SEO::DESCRIPTION
  /team/members/{team_id}:
    get:
      tags:
      - Team
      summary: Dropbox _t__TeamMembers::SUMMARY
      description: _t__TeamMembers::DESCRIPTION
      operationId: teamMembers
      parameters:
      - name: team_id
        in: path
        description: _t__TeamMembers::TEAM_ID
        required: true
        schema:
          type: string
        example: 4fea99bfcf2b26bfccf6cea3e127fb8bb74d8d9c
      - name: page
        in: query
        description: _t__TeamMembers::PAGE
        schema:
          type: integer
          default: 1
      - name: page_size
        in: query
        description: _t__TeamMembers::PAGE_SIZE
        schema:
          type: integer
          default: 20
          maximum: 100
          minimum: 1
      responses:
        '200':
          description: successful operation
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-Ratelimit-Reset:
              $ref: '#/components/headers/X-Ratelimit-Reset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamMembersResponse'
              examples:
                default_example:
                  $ref: '#/components/examples/TeamMembersResponseExample'
        4XX:
          description: failed_operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                400_example:
                  $ref: '#/components/examples/Error400ResponseExample'
                401_example:
                  $ref: '#/components/examples/Error401ResponseExample'
                402_example:
                  $ref: '#/components/examples/Error402ResponseExample'
                403_example:
                  $ref: '#/components/examples/Error403ResponseExample'
                409_example:
                  $ref: '#/components/examples/Error409ResponseExample'
                429_example:
                  $ref: '#/components/examples/Error429ResponseExample'
                4XX_example:
                  $ref: '#/components/examples/Error4XXResponseExample'
      security:
      - api_key: []
      - oauth2:
        - team_access
      x-codeSamples:
      - lang: PHP
        label: PHP
        source:
          $ref: examples/TeamMembers.php
      - lang: C#
        label: C#
        source:
          $ref: examples/TeamMembers.cs
      - lang: JavaScript
        label: JavaScript
        source:
          $ref: examples/TeamMembers.js
      - lang: TypeScript
        label: TypeScript
        source:
          $ref: examples/TeamMembers.ts
      - lang: Java
        label: Java
        source:
          $ref: examples/TeamMembers.java
      - lang: Ruby
        label: Ruby
        source:
          $ref: examples/TeamMembers.rb
      - lang: Python
        label: Python
        source:
          $ref: examples/TeamMembers.py
      - lang: cURL
        label: cURL
        source:
          $ref: examples/TeamMembers.sh
      x-meta:
        seo:
          title: _t__TeamMembers::SEO::TITLE
          description: _t__TeamMembers::SEO::DESCRIPTION
  /team/remove_member:
    post:
      tags:
      - Team
      summary: Dropbox _t__TeamRemoveMember::SUMMARY
      description: _t__TeamRemoveMember::DESCRIPTION
      operationId: teamRemoveMember
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamRemoveMemberRequest'
            examples:
              email_address:
                $ref: '#/components/examples/TeamRemoveMemberRequestEmailAddressExample'
              account_id:
                $ref: '#/components/examples/TeamRemoveMemberRequestAccountIdExample'
      responses:
        '201':
          description: successful operation
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-Ratelimit-Reset:
              $ref: '#/components/headers/X-Ratelimit-Reset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamGetResponse'
              examples:
                default_example:
                  $ref: '#/components/examples/TeamRemoveMemberResponseExample'
        4XX:
          description: failed_operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                400

# --- truncated at 32 KB (50 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/dropbox/refs/heads/main/openapi/dropbox-team-api-openapi.yml