> ## Documentation Index
> Fetch the complete documentation index at: https://billing-docs.platform.ai71services.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Admins update metering limit for any user



## OpenAPI

````yaml specs/billing_api_docs.json put /api/v1/user-configs/admin/metering-limit
openapi: 3.0.1
info:
  title: Billing API
  description: Billing service for managing subscriptions, payments, and entitlements
  contact: {}
  version: '1.0'
servers:
  - url: https://dev-billing-api.iqraa.ai/api/v1
security: []
tags:
  - name: Customers
    description: Customers related endpoints
  - name: Subscriptions
    description: Subscription related endpoints
  - name: Plans
    description: Plans related endpoints
  - name: Entitlements
    description: Entitlements related endpoints
  - name: Payments
    description: Payments related endpoints
  - name: Emails
    description: Email related endpoints
paths:
  /api/v1/user-configs/admin/metering-limit:
    put:
      tags:
        - User Configs
      summary: Admins update metering limit for any user
      operationId: UserConfigController_updateMeteringLimitAdmin
      parameters:
        - name: x-admin-api-key
          in: header
          description: The API key to access the admin API
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateMeteringLimitAdminDto'
      responses:
        '200':
          description: Updated Metering Limit
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddMeteringLimitResDto'
        '400':
          description: Bad Request - Invalid metering limit data
        '401':
          description: Unauthorized - Missing or invalid admin API key
        '404':
          description: Not Found - Metering limit not found
      security:
        - bearer: []
components:
  schemas:
    UpdateMeteringLimitAdminDto:
      type: object
      properties:
        meteringLimit:
          type: number
          example: 100
        customerId:
          type: string
          example: '123'
      required:
        - meteringLimit
        - customerId
    AddMeteringLimitResDto:
      type: object
      properties: {}
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: opaque
      type: http

````