Passbolt · Capability

Passbolt API — Move

Passbolt API — Move. 1 operations. Lead operation: Move an element.. Self-contained Naftiko capability covering one Passbolt business surface.

Run with Naftiko PassboltMove

What You Can Do

PUT
Moveelement — Move an element.
/v1/move/{foreignmodel}/foreignid-json

MCP Tools

move-element

Move an element.

idempotent

Capability Spec

passbolt-move.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Passbolt API — Move
  description: 'Passbolt API — Move. 1 operations. Lead operation: Move an element.. Self-contained Naftiko capability covering
    one Passbolt business surface.'
  tags:
  - Passbolt
  - Move
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PASSBOLT_API_KEY: PASSBOLT_API_KEY
capability:
  consumes:
  - type: http
    namespace: passbolt-move
    baseUri: https://passbolt.local
    description: Passbolt API — Move business capability. Self-contained, no shared references.
    resources:
    - name: move-foreignModel-foreignId}.json
      path: /move/{foreignModel}/{foreignId}.json
      operations:
      - name: moveelement
        method: PUT
        description: Move an element.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: bearer
      token: '{{env.PASSBOLT_API_KEY}}'
  exposes:
  - type: rest
    namespace: passbolt-move-rest
    port: 8080
    description: REST adapter for Passbolt API — Move. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/move/{foreignmodel}/foreignid-json
      name: move-foreignmodel-foreignid-json
      description: REST surface for move-foreignModel-foreignId}.json.
      operations:
      - method: PUT
        name: moveelement
        description: Move an element.
        call: passbolt-move.moveelement
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: passbolt-move-mcp
    port: 9090
    transport: http
    description: MCP adapter for Passbolt API — Move. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: move-element
      description: Move an element.
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: passbolt-move.moveelement
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.