Microsoft Azure · Capability

Microsoft Azure iotHubClient — DELETE

Microsoft Azure iotHubClient — DELETE. 3 operations. Lead operation: Microsoft Azure Delete An Iot Hub. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureDELETE

What You Can Do

DELETE
Microsoftazureiothubresourcedelete — Microsoft Azure Delete An Iot Hub
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devices/iothubs/{resourcename}
DELETE
Microsoftazureiothubresourcedeleteeventhubconsumergroup — Microsoft Azure Delete A Consumer Group From An Event Hub Compatible Endpoint In An Iot Hub
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devices/iothubs/{resourcename}/eventhubendpoints/{eventhubendpointname}/consumergroups/{name}
DELETE
Microsoftazureprivateendpointconnectionsdelete — Microsoft Azure Delete Private Endpoint Connection
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devices/iothubs/{resourcename}/privateendpointconnections/{privateendpointconnectionname}

MCP Tools

microsoft-azure-delete-iot-hub

Microsoft Azure Delete An Iot Hub

idempotent
microsoft-azure-delete-consumer-group

Microsoft Azure Delete A Consumer Group From An Event Hub Compatible Endpoint In An Iot Hub

idempotent
microsoft-azure-delete-private-endpoint

Microsoft Azure Delete Private Endpoint Connection

idempotent

Capability Spec

iothubclient-delete.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure iotHubClient — DELETE
  description: 'Microsoft Azure iotHubClient — DELETE. 3 operations. Lead operation: Microsoft Azure Delete An Iot Hub. Self-contained
    Naftiko capability covering one Microsoft Azure business surface.'
  tags:
  - Microsoft Azure
  - DELETE
  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: iothubclient-delete
    baseUri: https://management.azure.com
    description: Microsoft Azure iotHubClient — DELETE business capability. Self-contained, no shared references.
    resources:
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}
      operations:
      - name: microsoftazureiothubresourcedelete
        method: DELETE
        description: Microsoft Azure Delete An Iot Hub
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/eventHubEndpoints/{eventHubEndpointName}/ConsumerGroups/{name}
      operations:
      - name: microsoftazureiothubresourcedeleteeventhubconsumergroup
        method: DELETE
        description: Microsoft Azure Delete A Consumer Group From An Event Hub Compatible Endpoint In An Iot Hub
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: eventHubEndpointName
          in: path
          type: string
          description: The name of the Event Hub-compatible endpoint in the IoT hub.
          required: true
        - name: name
          in: path
          type: string
          description: The name of the consumer group to delete.
          required: true
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/iotHubs/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}
      operations:
      - name: microsoftazureprivateendpointconnectionsdelete
        method: DELETE
        description: Microsoft Azure Delete Private Endpoint Connection
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: iothubclient-delete-rest
    port: 8080
    description: REST adapter for Microsoft Azure iotHubClient — DELETE. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devices/iothubs/{resourcename}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: DELETE
        name: microsoftazureiothubresourcedelete
        description: Microsoft Azure Delete An Iot Hub
        call: iothubclient-delete.microsoftazureiothubresourcedelete
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devices/iothubs/{resourcename}/eventhubendpoints/{eventhubendpointname}/consumergroups/{name}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: DELETE
        name: microsoftazureiothubresourcedeleteeventhubconsumergroup
        description: Microsoft Azure Delete A Consumer Group From An Event Hub Compatible Endpoint In An Iot Hub
        call: iothubclient-delete.microsoftazureiothubresourcedeleteeventhubconsumergroup
        with:
          eventHubEndpointName: rest.eventHubEndpointName
          name: rest.name
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-devices/iothubs/{resourcename}/privateendpointconnections/{privateendpointconnectionname}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: DELETE
        name: microsoftazureprivateendpointconnectionsdelete
        description: Microsoft Azure Delete Private Endpoint Connection
        call: iothubclient-delete.microsoftazureprivateendpointconnectionsdelete
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: iothubclient-delete-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure iotHubClient — DELETE. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: microsoft-azure-delete-iot-hub
      description: Microsoft Azure Delete An Iot Hub
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: iothubclient-delete.microsoftazureiothubresourcedelete
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-delete-consumer-group
      description: Microsoft Azure Delete A Consumer Group From An Event Hub Compatible Endpoint In An Iot Hub
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: iothubclient-delete.microsoftazureiothubresourcedeleteeventhubconsumergroup
      with:
        eventHubEndpointName: tools.eventHubEndpointName
        name: tools.name
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-delete-private-endpoint
      description: Microsoft Azure Delete Private Endpoint Connection
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: iothubclient-delete.microsoftazureprivateendpointconnectionsdelete
      outputParameters:
      - type: object
        mapping: $.