Tetrate · Capability

Tetrate Service Bridge REST API — Tenants

Tetrate Service Bridge REST API — Tenants. 5 operations. Lead operation: List Tenants. Self-contained Naftiko capability covering one Tetrate business surface.

Run with Naftiko TetrateTenants

What You Can Do

GET
Listtenants — List Tenants
/v1/organizations/{organization}/tenants
POST
Createtenant — Create Tenant
/v1/organizations/{organization}/tenants
GET
Gettenant — Get Tenant
/v1/organizations/{organization}/tenants/{tenant}
PUT
Updatetenant — Update Tenant
/v1/organizations/{organization}/tenants/{tenant}
DELETE
Deletetenant — Delete Tenant
/v1/organizations/{organization}/tenants/{tenant}

MCP Tools

list-tenants

List Tenants

read-only idempotent
create-tenant

Create Tenant

get-tenant

Get Tenant

read-only idempotent
update-tenant

Update Tenant

idempotent
delete-tenant

Delete Tenant

idempotent

Capability Spec

service-bridge-tenants.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Tetrate Service Bridge REST API — Tenants
  description: 'Tetrate Service Bridge REST API — Tenants. 5 operations. Lead operation: List Tenants. Self-contained Naftiko
    capability covering one Tetrate business surface.'
  tags:
  - Tetrate
  - Tenants
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TETRATE_API_KEY: TETRATE_API_KEY
capability:
  consumes:
  - type: http
    namespace: service-bridge-tenants
    baseUri: https://{tsb-host}:8443/v2
    description: Tetrate Service Bridge REST API — Tenants business capability. Self-contained, no shared references.
    resources:
    - name: organizations-organization-tenants
      path: /organizations/{organization}/tenants
      operations:
      - name: listtenants
        method: GET
        description: List Tenants
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createtenant
        method: POST
        description: Create Tenant
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: organizations-organization-tenants-tenant
      path: /organizations/{organization}/tenants/{tenant}
      operations:
      - name: gettenant
        method: GET
        description: Get Tenant
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatetenant
        method: PUT
        description: Update Tenant
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletetenant
        method: DELETE
        description: Delete Tenant
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: x-tetrate-token
      value: '{{env.TETRATE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: service-bridge-tenants-rest
    port: 8080
    description: REST adapter for Tetrate Service Bridge REST API — Tenants. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/organizations/{organization}/tenants
      name: organizations-organization-tenants
      description: REST surface for organizations-organization-tenants.
      operations:
      - method: GET
        name: listtenants
        description: List Tenants
        call: service-bridge-tenants.listtenants
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createtenant
        description: Create Tenant
        call: service-bridge-tenants.createtenant
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/organizations/{organization}/tenants/{tenant}
      name: organizations-organization-tenants-tenant
      description: REST surface for organizations-organization-tenants-tenant.
      operations:
      - method: GET
        name: gettenant
        description: Get Tenant
        call: service-bridge-tenants.gettenant
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatetenant
        description: Update Tenant
        call: service-bridge-tenants.updatetenant
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletetenant
        description: Delete Tenant
        call: service-bridge-tenants.deletetenant
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: service-bridge-tenants-mcp
    port: 9090
    transport: http
    description: MCP adapter for Tetrate Service Bridge REST API — Tenants. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: list-tenants
      description: List Tenants
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: service-bridge-tenants.listtenants
      outputParameters:
      - type: object
        mapping: $.
    - name: create-tenant
      description: Create Tenant
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: service-bridge-tenants.createtenant
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-tenant
      description: Get Tenant
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: service-bridge-tenants.gettenant
      outputParameters:
      - type: object
        mapping: $.
    - name: update-tenant
      description: Update Tenant
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: service-bridge-tenants.updatetenant
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-tenant
      description: Delete Tenant
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: service-bridge-tenants.deletetenant
      outputParameters:
      - type: object
        mapping: $.