Microsoft Azure Sub Account API

The Sub Account API from Microsoft Azure, for sub account.

GitHub OpenAPI

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logz/monitors/{monitorName}/accounts List Logz.io sub-accounts on a monitor · Microsoft Azure List The Sub Account Under A Given Monitor Resource #
Ask an LLM
“Which Logz.io sub-accounts are attached to my Azure monitor resource?”
“How do I see all sub-accounts under a Logz monitor?”
Tell an agent
List the Logz.io sub-accounts on monitor {monitorName}.
Show every sub-account configured under Logz monitor {monitorName}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logz/monitors/{monitorName}/accounts/{subAccountName} Create a Logz.io sub-account · Microsoft Azure Create Sub Account Under A Given Monitor Resource This Create… #
Ask an LLM
“How do I create a new Logz.io sub-account under an existing monitor?”
“Which region do I have to specify when creating a Logz sub-account?”
Tell an agent
Create Logz.io sub-account {subAccountName} on monitor {monitorName} in {location}.
Add sub-account {subAccountName} to Logz monitor {monitorName} in region {location} with tags {tags}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logz/monitors/{monitorName}/accounts/{subAccountName} Get a Logz.io sub-account · Microsoft Azure Get A Sub Account Under A Given Monitor Resource #
Ask an LLM
“What are the settings of one Logz.io sub-account?”
“How do I check the provisioning state of a Logz sub-account?”
Tell an agent
Show Logz.io sub-account {subAccountName} on monitor {monitorName}.
Get the details of sub-account {subAccountName} under {monitorName}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logz/monitors/{monitorName}/accounts/{subAccountName} Delete a Logz.io sub-account · Microsoft Azure Delete A Sub Account Resource This Delete Operation Can Take… #
Ask an LLM
“How do I remove a Logz.io sub-account from my monitor?”
“Can I delete a Logz sub-account I no longer ship logs to?”
Tell an agent destructive · confirm first
Delete Logz.io sub-account {subAccountName} from monitor {monitorName}.
Remove sub-account {subAccountName} under Logz monitor {monitorName}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logz/monitors/{monitorName}/accounts/{subAccountName} Update a Logz.io sub-account · Microsoft Azure Update A Monitor Resource #
Ask an LLM
“How do I change the tags on a Logz.io sub-account?”
“Can I update a Logz sub-account's properties in place?”
Tell an agent
Update tags on Logz.io sub-account {subAccountName} of monitor {monitorName} to {tags}.
Patch sub-account {subAccountName} under {monitorName} with properties {properties}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logz/monitors/{monitorName}/accounts/{subAccountName}/listMonitoredResources List resources a Logz.io sub-account monitors · Microsoft Azure List The Resources Currently Being Monitored By The Logz Sub… #
Ask an LLM
“Which Azure resources are sending logs to a Logz.io sub-account?”
“How do I see what a Logz sub-account is monitoring?”
Tell an agent
List the resources monitored by Logz.io sub-account {subAccountName} on {monitorName}.
Show which Azure resources feed sub-account {subAccountName} of monitor {monitorName}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-sub-account-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-sub-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Microsoft.Logz Sub Account API
  version: 2020-10-01-preview
servers:
- url: https://management.azure.com
tags:
- name: Sub Account
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logz/monitors/{monitorName}/accounts
  : get:
      tags:
      - Sub Account
      summary: Microsoft Azure List The Sub Account Under A Given Monitor Resource
      operationId: microsoftAzureSubaccountList
      parameters:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/MonitorNameParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogzMonitorResourceListResponse'
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        SubAccount_List:
          $ref: ./examples/SubAccount_ListByResourceGroup.json
      description: Needs a more full description created.
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logz/monitors/{monitorName}/accounts/{subAccountName}
  : put:
      tags:
      - Sub Account
      summary: Microsoft Azure Create Sub Account Under A Given Monitor Resource This Create…
      operationId: microsoftAzureSubaccountCreate
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      parameters:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/MonitorNameParameter'
      - $ref: '#/components/parameters/SubAccountNameParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogzMonitorResource'
        '201':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogzMonitorResource'
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
      x-ms-examples:
        subAccount_Create:
          $ref: ./examples/SubAccount_Create.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogzMonitorResource'
    get:
      tags:
      - Sub Account
      summary: Microsoft Azure Get A Sub Account Under A Given Monitor Resource
      operationId: microsoftAzureSubaccountGet
      parameters:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/MonitorNameParameter'
      - $ref: '#/components/parameters/SubAccountNameParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogzMonitorResource'
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
      x-ms-examples:
        SubAccount_Get:
          $ref: ./examples/SubAccount_Get.json
      description: Needs a more full description created.
    delete:
      tags:
      - Sub Account
      summary: Microsoft Azure Delete A Sub Account Resource This Delete Operation Can Take…
      operationId: microsoftAzureSubaccountDelete
      parameters:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/MonitorNameParameter'
      - $ref: '#/components/parameters/SubAccountNameParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
        '202':
          description: Success
          headers:
            location:
              description: URL to query for status of the operation.
              schema:
                type: string
        '204':
          description: Success
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-examples:
        SubAccount_Delete:
          $ref: ./examples/SubAccount_Delete.json
      description: Needs a more full description created.
    patch:
      tags:
      - Sub Account
      summary: Microsoft Azure Update A Monitor Resource
      operationId: microsoftAzureSubaccountUpdate
      parameters:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/MonitorNameParameter'
      - $ref: '#/components/parameters/SubAccountNameParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogzMonitorResource'
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
      x-ms-examples:
        SubAccount_Update:
          $ref: ./examples/SubAccount_Update.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LogzMonitorResourceUpdateParameters'
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logz/monitors/{monitorName}/accounts/{subAccountName}/listMonitoredResources
  : post:
      tags:
      - Sub Account
      summary: Microsoft Azure List The Resources Currently Being Monitored By The Logz Sub…
      operationId: microsoftAzureSubaccountListmonitoredresources
      parameters:
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/MonitorNameParameter'
      - $ref: '#/components/parameters/SubAccountNameParameter'
      - $ref: ../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MonitoredResourceListResponse'
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        SubAccount_MonitoredResources_List:
          $ref: ./examples/SubAccount_MonitoredResources_List.json
      description: Needs a more full description created.
components:
  schemas:
    LiftrResourceCategories:
      enum:
      - Unknown
      - MonitorLogs
      type: string
      x-ms-enum:
        modelAsString: true
        name: LiftrResourceCategories
      readOnly: true
    MonitorProperties:
      description: Properties specific to the monitor resource.
      type: object
      properties:
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
        monitoringStatus:
          $ref: '#/components/schemas/MonitoringStatus'
        marketplaceSubscriptionStatus:
          $ref: '#/components/schemas/MarketplaceSubscriptionStatus'
        logzOrganizationProperties:
          $ref: '#/components/schemas/LogzOrganizationProperties'
        userInfo:
          $ref: '#/components/schemas/UserInfo'
        planData:
          $ref: '#/components/schemas/PlanData'
        liftrResourceCategory:
          $ref: '#/components/schemas/LiftrResourceCategories'
        liftrResourcePreference:
          description: The priority of the resource.
          format: int32
          type: integer
          readOnly: true
    ManagedIdentityTypes:
      enum:
      - SystemAssigned
      - UserAssigned
      type: string
      x-ms-enum:
        modelAsString: true
        name: ManagedIdentityTypes
    PlanData:
      type: object
      properties:
        usageType:
          description: different usage type like PAYG/COMMITTED. this could be enum
          maxLength: 50
          type: string
        billingCycle:
          description: different billing cycles like MONTHLY/WEEKLY. this could be enum
          maxLength: 50
          type: string
        planDetails:
          description: plan id as published by Logz
          maxLength: 50
          type: string
        effectiveDate:
          format: date-time
          description: date when plan was applied
          type: string
          x-ms-mutability:
          - create
          - read
    MonitoringStatus:
      description: Flag specifying if the resource monitoring is enabled or disabled.
      enum:
      - Enabled
      - Disabled
      type: string
      default: Enabled
      x-ms-enum:
        modelAsString: true
        name: MonitoringStatus
    UserInfo:
      type: object
      properties:
        firstName:
          description: First Name of the user
          maxLength: 50
          type: string
        lastName:
          description: Last Name of the user
          maxLength: 50
          type: string
        emailAddress:
          description: Email of the user used by Logz for contacting them if needed
          pattern: ^[A-Za-z0-9._%+-]+@(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}$
          type: string
        phoneNumber:
          description: Phone number of the user used by Logz for contacting them if needed
          maxLength: 40
          type: string
    LogzMonitorResourceUpdateParameters:
      description: The parameters for a PATCH request to a monitor resource.
      type: object
      properties:
        properties:
          $ref: '#/components/schemas/MonitorUpdateProperties'
        tags:
          description: The new tags of the monitor resource.
          type: object
          additionalProperties:
            type: string
    MonitorUpdateProperties:
      description: The set of properties that can be update in a PATCH request to a monitor resource.
      type: object
      properties:
        monitoringStatus:
          $ref: '#/components/schemas/MonitoringStatus'
    LogzMonitorResource:
      required:
      - location
      type: object
      x-ms-azure-resource: true
      properties:
        id:
          description: ARM id of the monitor resource.
          type: string
          readOnly: true
        systemData:
          readOnly: true
          description: The system metadata relating to this resource
          $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/systemData
        name:
          description: Name of the monitor resource.
          type: string
          readOnly: true
        type:
          description: The type of the monitor resource.
          type: string
          readOnly: true
        properties:
          $ref: '#/components/schemas/MonitorProperties'
        identity:
          $ref: '#/components/schemas/IdentityProperties'
        tags:
          type: object
          additionalProperties:
            type: string
        location:
          type: string
    ProvisioningState:
      enum:
      - Accepted
      - Creating
      - Updating
      - Deleting
      - Succeeded
      - Failed
      - Canceled
      - Deleted
      - NotSpecified
      description: Flag specifying if the resource provisioning state as tracked by ARM.
      type: string
      x-ms-enum:
        modelAsString: true
        name: ProvisioningState
      readOnly: true
    IdentityProperties:
      type: object
      properties:
        principalId:
          description: The identity ID.
          type: string
          readOnly: true
        tenantId:
          description: The tenant ID of resource.
          type: string
          readOnly: true
        type:
          $ref: '#/components/schemas/ManagedIdentityTypes'
    LogzOrganizationProperties:
      type: object
      properties:
        companyName:
          description: Name of the Logz organization.
          type: string
        id:
          description: Id of the Logz organization.
          type: string
          readOnly: true
        enterpriseAppId:
          description: The Id of the Enterprise App used for Single sign on.
          type: string
        singleSignOnUrl:
          description: The login URL specific to this Logz Organization.
          type: string
    MonitoredResource:
      description: The properties of a resource currently being monitored by the Logz monitor resource.
      type: object
      properties:
        id:
          description: The ARM id of the resource.
          type: string
        sendingMetrics:
          description: Flag indicating if resource is sending metrics to Logz.
          type: boolean
        reasonForMetricsStatus:
          description: Reason for why the resource is sending metrics (or why it is not sending).
          type: string
        sendingLogs:
          description: Flag indicating if resource is sending logs to Logz.
          type: boolean
        systemData:
          $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/systemData
        reasonForLogsStatus:
          description: Reason for why the resource is sending logs (or why it is not sending).
          type: string
    MarketplaceSubscriptionStatus:
      description: Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.
      enum:
      - Active
      - Suspended
      type: string
      default: Active
      x-ms-enum:
        modelAsString: true
        name: MarketplaceSubscriptionStatus
    MonitoredResourceListResponse:
      description: Response of a list operation.
      type: object
      properties:
        value:
          description: Results of a list operation.
          type: array
          items:
            $ref: '#/components/schemas/MonitoredResource'
        nextLink:
          description: Link to the next set of results, if any.
          type: string
    LogzMonitorResourceListResponse:
      description: Response of a list operation.
      type: object
      properties:
        value:
          description: Results of a list operation.
          type: array
          items:
            $ref: '#/components/schemas/LogzMonitorResource'
        nextLink:
          description: Link to the next set of results, if any.
          type: string
  parameters:
    SubAccountNameParameter:
      in: path
      name: subAccountName
      description: Sub Account resource name
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    MonitorNameParameter:
      in: path
      name: monitorName
      description: Monitor resource name
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Microsoft Entra ID OAuth2 Flow