Box · Capability

Box Platform API — Session Termination

Box Platform API — Session Termination. 2 operations. Lead operation: Box Create jobs to terminate user group session. Self-contained Naftiko capability covering one Box business surface.

Run with Naftiko BoxSession Termination

What You Can Do

POST
Postgroupsterminatesessions — Box Create jobs to terminate user group session
/v1/groups/terminate-sessions
POST
Postusersterminatesessions — Box Create jobs to terminate users session
/v1/users/terminate-sessions

MCP Tools

box-create-jobs-terminate-user

Box Create jobs to terminate user group session

box-create-jobs-terminate-users

Box Create jobs to terminate users session

Capability Spec

box-session-termination.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Box Platform API — Session Termination
  description: 'Box Platform API — Session Termination. 2 operations. Lead operation: Box Create jobs to terminate user group
    session. Self-contained Naftiko capability covering one Box business surface.'
  tags:
  - Box
  - Session Termination
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BOX_API_KEY: BOX_API_KEY
capability:
  consumes:
  - type: http
    namespace: box-session-termination
    baseUri: https://api.box.com/2.0
    description: Box Platform API — Session Termination business capability. Self-contained, no shared references.
    resources:
    - name: groups-terminate_sessions
      path: /groups/terminate_sessions
      operations:
      - name: postgroupsterminatesessions
        method: POST
        description: Box Create jobs to terminate user group session
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: users-terminate_sessions
      path: /users/terminate_sessions
      operations:
      - name: postusersterminatesessions
        method: POST
        description: Box Create jobs to terminate users session
        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.BOX_API_KEY}}'
  exposes:
  - type: rest
    namespace: box-session-termination-rest
    port: 8080
    description: REST adapter for Box Platform API — Session Termination. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/groups/terminate-sessions
      name: groups-terminate-sessions
      description: REST surface for groups-terminate_sessions.
      operations:
      - method: POST
        name: postgroupsterminatesessions
        description: Box Create jobs to terminate user group session
        call: box-session-termination.postgroupsterminatesessions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/terminate-sessions
      name: users-terminate-sessions
      description: REST surface for users-terminate_sessions.
      operations:
      - method: POST
        name: postusersterminatesessions
        description: Box Create jobs to terminate users session
        call: box-session-termination.postusersterminatesessions
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: box-session-termination-mcp
    port: 9090
    transport: http
    description: MCP adapter for Box Platform API — Session Termination. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: box-create-jobs-terminate-user
      description: Box Create jobs to terminate user group session
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: box-session-termination.postgroupsterminatesessions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: box-create-jobs-terminate-users
      description: Box Create jobs to terminate users session
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: box-session-termination.postusersterminatesessions
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.