Azure API Management REST API — ApiTag

Azure API Management REST API — ApiTag. 5 operations. Lead operation: Microsoft Azure API Management Tag_ListByApi. Self-contained Naftiko capability covering one Microsoft Azure Api Management business surface.

Run with Naftiko Microsoft Azure Api ManagementApiTag

What You Can Do

GET
Taglistbyapi — Microsoft Azure API Management Tag_ListByApi
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/apis/{apiid}/tags
HEAD
Taggetentitystatebyapi — Microsoft Azure API Management Tag_GetEntityStateByApi
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/apis/{apiid}/tags/{tagid}
GET
Taggetbyapi — Microsoft Azure API Management Tag_GetByApi
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/apis/{apiid}/tags/{tagid}
PUT
Tagassigntoapi — Microsoft Azure API Management Tag_AssignToApi
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/apis/{apiid}/tags/{tagid}
DELETE
Tagdetachfromapi — Microsoft Azure API Management Tag_DetachFromApi
/v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/apis/{apiid}/tags/{tagid}

MCP Tools

microsoft-azure-api-management-tag

Microsoft Azure API Management Tag_ListByApi

read-only idempotent
microsoft-azure-api-management-tag-2

Microsoft Azure API Management Tag_GetEntityStateByApi

microsoft-azure-api-management-tag-3

Microsoft Azure API Management Tag_GetByApi

read-only idempotent
microsoft-azure-api-management-tag-4

Microsoft Azure API Management Tag_AssignToApi

idempotent
microsoft-azure-api-management-tag-5

Microsoft Azure API Management Tag_DetachFromApi

idempotent

Capability Spec

rest-apitag.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Azure API Management REST API — ApiTag
  description: 'Azure API Management REST API — ApiTag. 5 operations. Lead operation: Microsoft Azure API Management Tag_ListByApi.
    Self-contained Naftiko capability covering one Microsoft Azure Api Management business surface.'
  tags:
  - Microsoft Azure Api Management
  - ApiTag
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_MANAGEMENT_API_KEY: MICROSOFT_AZURE_API_MANAGEMENT_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-apitag
    baseUri: https://management.azure.com
    description: Azure API Management REST API — ApiTag business capability. Self-contained, no shared references.
    resources:
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags
      operations:
      - name: taglistbyapi
        method: GET
        description: Microsoft Azure API Management Tag_ListByApi
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof
      path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}
      operations:
      - name: taggetentitystatebyapi
        method: HEAD
        description: Microsoft Azure API Management Tag_GetEntityStateByApi
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: taggetbyapi
        method: GET
        description: Microsoft Azure API Management Tag_GetByApi
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: tagassigntoapi
        method: PUT
        description: Microsoft Azure API Management Tag_AssignToApi
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: tagdetachfromapi
        method: DELETE
        description: Microsoft Azure API Management Tag_DetachFromApi
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_AZURE_API_MANAGEMENT_API_KEY}}'
  exposes:
  - type: rest
    namespace: rest-apitag-rest
    port: 8080
    description: REST adapter for Azure API Management REST API — ApiTag. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/apis/{apiid}/tags
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: GET
        name: taglistbyapi
        description: Microsoft Azure API Management Tag_ListByApi
        call: rest-apitag.taglistbyapi
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/apis/{apiid}/tags/{tagid}
      name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof
      description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof.
      operations:
      - method: HEAD
        name: taggetentitystatebyapi
        description: Microsoft Azure API Management Tag_GetEntityStateByApi
        call: rest-apitag.taggetentitystatebyapi
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: taggetbyapi
        description: Microsoft Azure API Management Tag_GetByApi
        call: rest-apitag.taggetbyapi
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: tagassigntoapi
        description: Microsoft Azure API Management Tag_AssignToApi
        call: rest-apitag.tagassigntoapi
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: tagdetachfromapi
        description: Microsoft Azure API Management Tag_DetachFromApi
        call: rest-apitag.tagdetachfromapi
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-apitag-mcp
    port: 9090
    transport: http
    description: MCP adapter for Azure API Management REST API — ApiTag. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: microsoft-azure-api-management-tag
      description: Microsoft Azure API Management Tag_ListByApi
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-apitag.taglistbyapi
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-api-management-tag-2
      description: Microsoft Azure API Management Tag_GetEntityStateByApi
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rest-apitag.taggetentitystatebyapi
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-api-management-tag-3
      description: Microsoft Azure API Management Tag_GetByApi
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-apitag.taggetbyapi
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-api-management-tag-4
      description: Microsoft Azure API Management Tag_AssignToApi
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: rest-apitag.tagassigntoapi
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-api-management-tag-5
      description: Microsoft Azure API Management Tag_DetachFromApi
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: rest-apitag.tagdetachfromapi
      outputParameters:
      - type: object
        mapping: $.