Azure Traffic Manager User Metrics Models API

The UserMetricsModels API from Azure Traffic Manager — 1 operation(s) for usermetricsmodels.

GitHub OpenAPI

Operations 3

GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default Traffic manager user metrics keys get #
PUT /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default Traffic manager user metrics keys create or update #
DELETE /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default Traffic manager user metrics keys delete #

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-traffic-manager:microsoft-azure-traffic-manager-usermetricsmodels-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-traffic-manager-usermetricsmodels-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TrafficManagerManagementClient User Metrics Models API
  version: '2026-09-01'
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: UserMetricsModels
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficManagerUserMetricsKeys/default:
    get:
      operationId: TrafficManagerUserMetricsKeys_Get
      tags:
      - UserMetricsModels
      description: Get the subscription-level key used for Real User Metrics collection.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserMetricsModel'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: Traffic manager user metrics keys get
      x-summary-source: derived
    put:
      operationId: TrafficManagerUserMetricsKeys_CreateOrUpdate
      tags:
      - UserMetricsModels
      description: Create or update a subscription-level key used for Real User Metrics collection.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '201':
          description: Resource 'UserMetricsModel' create operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserMetricsModel'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: Traffic manager user metrics keys create or update
      x-summary-source: derived
    delete:
      operationId: TrafficManagerUserMetricsKeys_Delete
      tags:
      - UserMetricsModels
      description: Delete a subscription-level key used for Real User Metrics collection.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteOperationResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: Traffic manager user metrics keys delete
      x-summary-source: derived
components:
  schemas:
    ProxyResource:
      type: object
      description: The resource model definition for a ARM proxy resource. It will have everything other than required location and tags
      allOf:
      - $ref: '#/components/schemas/Resource'
    UserMetricsModel:
      type: object
      description: Class representing Traffic Manager User Metrics.
      properties:
        properties:
          $ref: '#/components/schemas/UserMetricsProperties'
          description: The properties of the Traffic Manager User Metrics.
          x-ms-client-flatten: true
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    CloudError:
      type: object
      description: An error returned by the Azure Resource Manager
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: The content of the error.
      x-ms-external: true
    CloudErrorBody:
      type: object
      description: The content of an error returned by the Azure Resource Manager
      properties:
        code:
          type: string
          description: Error code
        message:
          type: string
          description: Error message
        target:
          type: string
          description: Error target
        details:
          type: array
          description: Error details
          items:
            $ref: '#/components/schemas/CloudErrorBody'
      x-ms-external: true
    UserMetricsProperties:
      type: object
      description: Class representing a Traffic Manager Real User Metrics key response.
      properties:
        key:
          type: string
          description: The key returned by the User Metrics operation.
    Resource:
      type: object
      description: The core properties of ARM resources
      properties:
        id:
          type: string
          format: arm-id
          description: Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}
        name:
          type: string
          description: The name of the resource
        type:
          type: string
          description: The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.
      x-ms-azure-resource: true
    DeleteOperationResult:
      type: object
      description: The result of the request or operation.
      properties:
        boolean:
          type: boolean
          description: The result of the operation or request.
          readOnly: true
          x-ms-client-name: operationResult
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.