Miro · Capability

Miro Developer Platform — OAuth

Miro Developer Platform — OAuth. 1 operations. Lead operation: Revoke token (v2). Self-contained Naftiko capability covering one Miro business surface.

Run with Naftiko MiroOAuth

What You Can Do

POST
Revoketokenv2 — Revoke token (v2)
/v1/v2/oauth/revoke

MCP Tools

revoke-token-v2

Revoke token (v2)

Capability Spec

miro-oauth.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Miro Developer Platform — OAuth
  description: 'Miro Developer Platform — OAuth. 1 operations. Lead operation: Revoke token (v2). Self-contained Naftiko capability
    covering one Miro business surface.'
  tags:
  - Miro
  - OAuth
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MIRO_API_KEY: MIRO_API_KEY
capability:
  consumes:
  - type: http
    namespace: miro-oauth
    baseUri: https://api.miro.com
    description: Miro Developer Platform — OAuth business capability. Self-contained, no shared references.
    resources:
    - name: v2-oauth-revoke
      path: /v2/oauth/revoke
      operations:
      - name: revoketokenv2
        method: POST
        description: Revoke token (v2)
        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.MIRO_API_KEY}}'
  exposes:
  - type: rest
    namespace: miro-oauth-rest
    port: 8080
    description: REST adapter for Miro Developer Platform — OAuth. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v2/oauth/revoke
      name: v2-oauth-revoke
      description: REST surface for v2-oauth-revoke.
      operations:
      - method: POST
        name: revoketokenv2
        description: Revoke token (v2)
        call: miro-oauth.revoketokenv2
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: miro-oauth-mcp
    port: 9090
    transport: http
    description: MCP adapter for Miro Developer Platform — OAuth. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: revoke-token-v2
      description: Revoke token (v2)
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: miro-oauth.revoketokenv2
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.