Dropbox · Capability

Dropbox API Reference — Team > Legal_holds

Dropbox API Reference — Team > Legal_holds. 7 operations. Lead operation: Dropbox legal_holds/create_policy. Self-contained Naftiko capability covering one Dropbox business surface.

Run with Naftiko DropboxTeam > Legal_holds

What You Can Do

POST
Post — Dropbox legal_holds/create_policy
/v1/2/team/legal-holds/create-policy
POST
Post — Dropbox legal_holds/get_policy
/v1/2/team/legal-holds/get-policy
POST
Post — Dropbox legal_holds/list_held_revisions
/v1/2/team/legal-holds/list-held-revisions
POST
Post — Dropbox legal_holds/list_held_revisions_continue
/v1/2/team/legal-holds/list-held-revisions-continue
POST
Post — Dropbox legal_holds/list_policies
/v1/2/team/legal-holds/list-policies
POST
Post — Dropbox legal_holds/release_policy
/v1/2/team/legal-holds/release-policy
POST
Post — Dropbox legal_holds/update_policy
/v1/2/team/legal-holds/update-policy

MCP Tools

dropbox-legal-holds-create-policy

Dropbox legal_holds/create_policy

dropbox-legal-holds-get-policy

Dropbox legal_holds/get_policy

dropbox-legal-holds-list-held

Dropbox legal_holds/list_held_revisions

dropbox-legal-holds-list-held-2

Dropbox legal_holds/list_held_revisions_continue

dropbox-legal-holds-list-policies

Dropbox legal_holds/list_policies

dropbox-legal-holds-release-policy

Dropbox legal_holds/release_policy

dropbox-legal-holds-update-policy

Dropbox legal_holds/update_policy

Capability Spec

dropbox-team-legal-holds.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Dropbox API Reference — Team > Legal_holds
  description: 'Dropbox API Reference — Team > Legal_holds. 7 operations. Lead operation: Dropbox legal_holds/create_policy.
    Self-contained Naftiko capability covering one Dropbox business surface.'
  tags:
  - Dropbox
  - Team > Legal_holds
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DROPBOX_API_KEY: DROPBOX_API_KEY
capability:
  consumes:
  - type: http
    namespace: dropbox-team-legal-holds
    baseUri: https://api.dropbox.com
    description: Dropbox API Reference — Team > Legal_holds business capability. Self-contained, no shared references.
    resources:
    - name: 2-team-legal_holds-create_policy
      path: /2/team/legal_holds/create_policy
      operations:
      - name: post
        method: POST
        description: Dropbox legal_holds/create_policy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: 2-team-legal_holds-get_policy
      path: /2/team/legal_holds/get_policy
      operations:
      - name: post
        method: POST
        description: Dropbox legal_holds/get_policy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: 2-team-legal_holds-list_held_revisions
      path: /2/team/legal_holds/list_held_revisions
      operations:
      - name: post
        method: POST
        description: Dropbox legal_holds/list_held_revisions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: 2-team-legal_holds-list_held_revisions_continue
      path: /2/team/legal_holds/list_held_revisions_continue
      operations:
      - name: post
        method: POST
        description: Dropbox legal_holds/list_held_revisions_continue
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: 2-team-legal_holds-list_policies
      path: /2/team/legal_holds/list_policies
      operations:
      - name: post
        method: POST
        description: Dropbox legal_holds/list_policies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: 2-team-legal_holds-release_policy
      path: /2/team/legal_holds/release_policy
      operations:
      - name: post
        method: POST
        description: Dropbox legal_holds/release_policy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: 2-team-legal_holds-update_policy
      path: /2/team/legal_holds/update_policy
      operations:
      - name: post
        method: POST
        description: Dropbox legal_holds/update_policy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.DROPBOX_API_KEY}}'
  exposes:
  - type: rest
    namespace: dropbox-team-legal-holds-rest
    port: 8080
    description: REST adapter for Dropbox API Reference — Team > Legal_holds. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/2/team/legal-holds/create-policy
      name: 2-team-legal-holds-create-policy
      description: REST surface for 2-team-legal_holds-create_policy.
      operations:
      - method: POST
        name: post
        description: Dropbox legal_holds/create_policy
        call: dropbox-team-legal-holds.post
        with:
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/2/team/legal-holds/get-policy
      name: 2-team-legal-holds-get-policy
      description: REST surface for 2-team-legal_holds-get_policy.
      operations:
      - method: POST
        name: post
        description: Dropbox legal_holds/get_policy
        call: dropbox-team-legal-holds.post
        with:
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/2/team/legal-holds/list-held-revisions
      name: 2-team-legal-holds-list-held-revisions
      description: REST surface for 2-team-legal_holds-list_held_revisions.
      operations:
      - method: POST
        name: post
        description: Dropbox legal_holds/list_held_revisions
        call: dropbox-team-legal-holds.post
        with:
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/2/team/legal-holds/list-held-revisions-continue
      name: 2-team-legal-holds-list-held-revisions-continue
      description: REST surface for 2-team-legal_holds-list_held_revisions_continue.
      operations:
      - method: POST
        name: post
        description: Dropbox legal_holds/list_held_revisions_continue
        call: dropbox-team-legal-holds.post
        with:
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/2/team/legal-holds/list-policies
      name: 2-team-legal-holds-list-policies
      description: REST surface for 2-team-legal_holds-list_policies.
      operations:
      - method: POST
        name: post
        description: Dropbox legal_holds/list_policies
        call: dropbox-team-legal-holds.post
        with:
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/2/team/legal-holds/release-policy
      name: 2-team-legal-holds-release-policy
      description: REST surface for 2-team-legal_holds-release_policy.
      operations:
      - method: POST
        name: post
        description: Dropbox legal_holds/release_policy
        call: dropbox-team-legal-holds.post
        with:
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/2/team/legal-holds/update-policy
      name: 2-team-legal-holds-update-policy
      description: REST surface for 2-team-legal_holds-update_policy.
      operations:
      - method: POST
        name: post
        description: Dropbox legal_holds/update_policy
        call: dropbox-team-legal-holds.post
        with:
          Content-Type: rest.Content-Type
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: dropbox-team-legal-holds-mcp
    port: 9090
    transport: http
    description: MCP adapter for Dropbox API Reference — Team > Legal_holds. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: dropbox-legal-holds-create-policy
      description: Dropbox legal_holds/create_policy
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dropbox-team-legal-holds.post
      with:
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: dropbox-legal-holds-get-policy
      description: Dropbox legal_holds/get_policy
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dropbox-team-legal-holds.post
      with:
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: dropbox-legal-holds-list-held
      description: Dropbox legal_holds/list_held_revisions
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dropbox-team-legal-holds.post
      with:
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: dropbox-legal-holds-list-held-2
      description: Dropbox legal_holds/list_held_revisions_continue
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dropbox-team-legal-holds.post
      with:
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: dropbox-legal-holds-list-policies
      description: Dropbox legal_holds/list_policies
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dropbox-team-legal-holds.post
      with:
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: dropbox-legal-holds-release-policy
      description: Dropbox legal_holds/release_policy
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dropbox-team-legal-holds.post
      with:
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: dropbox-legal-holds-update-policy
      description: Dropbox legal_holds/update_policy
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dropbox-team-legal-holds.post
      with:
        Content-Type: tools.Content-Type
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.