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

# Update User Limit



## OpenAPI

````yaml PATCH /v1/user-limits/{userId}
openapi: 3.0.0
info:
  title: Wardin API
  description: AI governance & observability platform — external REST API
  version: '1.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /v1/user-limits/{userId}:
    patch:
      tags:
        - user-limits
      summary: Update a user limit
      operationId: UserLimitsController_update
      parameters:
        - name: userId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateUserLimitDto'
      responses:
        '200':
          description: ''
      security:
        - bearer: []
components:
  schemas:
    UpdateUserLimitDto:
      type: object
      properties:
        allowedModels:
          example:
            - claude-sonnet-4-6
          type: array
          items:
            type: string
        budgetCapUsd:
          type: object
          example: 25
        status:
          type: string
          enum:
            - active
            - suspended
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````