Microsoft Azure · Capability

Microsoft Azure Azure IoT Central — apiTokens

Microsoft Azure Azure IoT Central — apiTokens. 4 operations. Lead operation: Microsoft Azure Get The List Of Api Tokens In An Application The Token Value Will Never Be Returned For Security Reasons. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureapiTokens

What You Can Do

GET
Microsoftazureapitokenslist — Microsoft Azure Get The List Of Api Tokens In An Application The Token Value Will Never Be Returned For Security Reasons
/v1/apitokens
GET
Microsoftazureapitokensget — Microsoft Azure Get An Api Token By Id
/v1/apitokens/{tokenid}
PUT
Microsoftazureapitokenscreate — Microsoft Azure Create A New Api Token In The Application To Use In The Iot Central Public Api The Token Value Will Be Returned In The Response, And Won T Be Returned Again In Subsequent Requests
/v1/apitokens/{tokenid}
DELETE
Microsoftazureapitokensremove — Microsoft Azure Delete An Api Token
/v1/apitokens/{tokenid}

MCP Tools

microsoft-azure-get-list-api

Microsoft Azure Get The List Of Api Tokens In An Application The Token Value Will Never Be Returned For Security Reasons

read-only idempotent
microsoft-azure-get-api-token

Microsoft Azure Get An Api Token By Id

read-only idempotent
microsoft-azure-create-new-api

Microsoft Azure Create A New Api Token In The Application To Use In The Iot Central Public Api The Token Value Will Be Returned In The Response, And Won T Be Returned Again In Subsequent Requests

idempotent
microsoft-azure-delete-api-token

Microsoft Azure Delete An Api Token

idempotent

Capability Spec

azure-iot-central-apitokens.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure Azure IoT Central — apiTokens
  description: 'Microsoft Azure Azure IoT Central — apiTokens. 4 operations. Lead operation: Microsoft Azure Get The List
    Of Api Tokens In An Application The Token Value Will Never Be Returned For Security Reasons. Self-contained Naftiko capability
    covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - apiTokens
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: azure-iot-central-apitokens
    baseUri: ''
    description: Microsoft Azure Azure IoT Central — apiTokens business capability. Self-contained, no shared references.
    resources:
    - name: apiTokens
      path: /apiTokens
      operations:
      - name: microsoftazureapitokenslist
        method: GET
        description: Microsoft Azure Get The List Of Api Tokens In An Application The Token Value Will Never Be Returned For
          Security Reasons
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: apiTokens-tokenId
      path: /apiTokens/{tokenId}
      operations:
      - name: microsoftazureapitokensget
        method: GET
        description: Microsoft Azure Get An Api Token By Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tokenId
          in: path
          type: string
          description: Unique ID for the API token.
          required: true
      - name: microsoftazureapitokenscreate
        method: PUT
        description: Microsoft Azure Create A New Api Token In The Application To Use In The Iot Central Public Api The Token
          Value Will Be Returned In The Response, And Won T Be Returned Again In Subsequent Requests
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tokenId
          in: path
          type: string
          description: Unique ID for the API token.
          required: true
        - name: body
          in: body
          type: string
          description: API token body.
          required: true
      - name: microsoftazureapitokensremove
        method: DELETE
        description: Microsoft Azure Delete An Api Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tokenId
          in: path
          type: string
          description: Unique ID for the API token.
          required: true
  exposes:
  - type: rest
    namespace: azure-iot-central-apitokens-rest
    port: 8080
    description: REST adapter for Microsoft Azure Azure IoT Central — apiTokens. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/apitokens
      name: apitokens
      description: REST surface for apiTokens.
      operations:
      - method: GET
        name: microsoftazureapitokenslist
        description: Microsoft Azure Get The List Of Api Tokens In An Application The Token Value Will Never Be Returned For
          Security Reasons
        call: azure-iot-central-apitokens.microsoftazureapitokenslist
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/apitokens/{tokenid}
      name: apitokens-tokenid
      description: REST surface for apiTokens-tokenId.
      operations:
      - method: GET
        name: microsoftazureapitokensget
        description: Microsoft Azure Get An Api Token By Id
        call: azure-iot-central-apitokens.microsoftazureapitokensget
        with:
          tokenId: rest.tokenId
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: microsoftazureapitokenscreate
        description: Microsoft Azure Create A New Api Token In The Application To Use In The Iot Central Public Api The Token
          Value Will Be Returned In The Response, And Won T Be Returned Again In Subsequent Requests
        call: azure-iot-central-apitokens.microsoftazureapitokenscreate
        with:
          tokenId: rest.tokenId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: microsoftazureapitokensremove
        description: Microsoft Azure Delete An Api Token
        call: azure-iot-central-apitokens.microsoftazureapitokensremove
        with:
          tokenId: rest.tokenId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-iot-central-apitokens-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure Azure IoT Central — apiTokens. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: microsoft-azure-get-list-api
      description: Microsoft Azure Get The List Of Api Tokens In An Application The Token Value Will Never Be Returned For
        Security Reasons
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-iot-central-apitokens.microsoftazureapitokenslist
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-get-api-token
      description: Microsoft Azure Get An Api Token By Id
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-iot-central-apitokens.microsoftazureapitokensget
      with:
        tokenId: tools.tokenId
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-create-new-api
      description: Microsoft Azure Create A New Api Token In The Application To Use In The Iot Central Public Api The Token
        Value Will Be Returned In The Response, And Won T Be Returned Again In Subsequent Requests
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: azure-iot-central-apitokens.microsoftazureapitokenscreate
      with:
        tokenId: tools.tokenId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-delete-api-token
      description: Microsoft Azure Delete An Api Token
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: azure-iot-central-apitokens.microsoftazureapitokensremove
      with:
        tokenId: tools.tokenId
      outputParameters:
      - type: object
        mapping: $.