Prisma · Capability

Prisma Data Platform API — API Keys

Prisma Data Platform API — API Keys. 3 operations. Lead operation: Prisma Delete an API key. Self-contained Naftiko capability covering one Prisma business surface.

Run with Naftiko PrismaAPI Keys

What You Can Do

DELETE
Deleteapikey — Prisma Delete an API key
/v1/apikeys/{apikeyid}
GET
Listapikeys — Prisma List API keys for an environment
/v1/environments/{environmentid}/apikeys
POST
Createapikey — Prisma Create an API key
/v1/environments/{environmentid}/apikeys

MCP Tools

prisma-delete-api-key

Prisma Delete an API key

idempotent
prisma-list-api-keys-environment

Prisma List API keys for an environment

read-only idempotent
prisma-create-api-key

Prisma Create an API key

Capability Spec

data-platform-api-keys.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Prisma Data Platform API — API Keys
  description: 'Prisma Data Platform API — API Keys. 3 operations. Lead operation: Prisma Delete an API key. Self-contained
    Naftiko capability covering one Prisma business surface.'
  tags:
  - Prisma
  - API Keys
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PRISMA_API_KEY: PRISMA_API_KEY
capability:
  consumes:
  - type: http
    namespace: data-platform-api-keys
    baseUri: https://api.cloud.prisma.io
    description: Prisma Data Platform API — API Keys business capability. Self-contained, no shared references.
    resources:
    - name: apikeys-apiKeyId
      path: /apikeys/{apiKeyId}
      operations:
      - name: deleteapikey
        method: DELETE
        description: Prisma Delete an API key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: apiKeyId
          in: path
          type: string
          description: Unique identifier of the API key
          required: true
    - name: environments-environmentId-apikeys
      path: /environments/{environmentId}/apikeys
      operations:
      - name: listapikeys
        method: GET
        description: Prisma List API keys for an environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createapikey
        method: POST
        description: Prisma Create an API key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.PRISMA_API_KEY}}'
  exposes:
  - type: rest
    namespace: data-platform-api-keys-rest
    port: 8080
    description: REST adapter for Prisma Data Platform API — API Keys. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/apikeys/{apikeyid}
      name: apikeys-apikeyid
      description: REST surface for apikeys-apiKeyId.
      operations:
      - method: DELETE
        name: deleteapikey
        description: Prisma Delete an API key
        call: data-platform-api-keys.deleteapikey
        with:
          apiKeyId: rest.apiKeyId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/environments/{environmentid}/apikeys
      name: environments-environmentid-apikeys
      description: REST surface for environments-environmentId-apikeys.
      operations:
      - method: GET
        name: listapikeys
        description: Prisma List API keys for an environment
        call: data-platform-api-keys.listapikeys
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createapikey
        description: Prisma Create an API key
        call: data-platform-api-keys.createapikey
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: data-platform-api-keys-mcp
    port: 9090
    transport: http
    description: MCP adapter for Prisma Data Platform API — API Keys. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: prisma-delete-api-key
      description: Prisma Delete an API key
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: data-platform-api-keys.deleteapikey
      with:
        apiKeyId: tools.apiKeyId
      outputParameters:
      - type: object
        mapping: $.
    - name: prisma-list-api-keys-environment
      description: Prisma List API keys for an environment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: data-platform-api-keys.listapikeys
      outputParameters:
      - type: object
        mapping: $.
    - name: prisma-create-api-key
      description: Prisma Create an API key
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: data-platform-api-keys.createapikey
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.