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

# Bulk Reset quota

> Replaces the ProxyAccount resource.



## OpenAPI

````yaml /openapi.json put /api/proxy_accounts/reset-quota
openapi: 3.1.0
info:
  title: AnyIP.io API documentation
  description: >-
    The anyIP REST API allows you to programmatically manage proxy accounts,
    monitor traffic, and access geographic data. Authenticate using your API
    key.
  version: 1.0.0
servers:
  - url: https://dashboard.anyip.io
    description: anyIP Production API
security:
  - apiHeader: []
tags: []
paths:
  /api/proxy_accounts/reset-quota:
    put:
      tags:
        - ProxyAccount
      summary: Bulk Reset quota
      description: Replaces the ProxyAccount resource.
      operationId: api_proxy_accountsreset-quota.__format_put
      parameters: []
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                    description: Proxy account id
                required:
                  - id
              minItems: 1
        required: false
      responses:
        '200':
          description: Quotas reset successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProxyAccount-read'
        '400':
          description: Invalid input
      deprecated: false
components:
  schemas:
    ProxyAccount-read:
      type: object
      description: ''
      deprecated: false
      properties:
        description:
          maxLength: 256
          type:
            - string
            - 'null'
        enabled_by_admin:
          default: true
          example: true
          type: boolean
        status:
          readOnly: true
          default: ACCOUNT_BLOCKED
          example: ACCOUNT_BLOCKED
          type: string
        is_active:
          readOnly: true
          type: boolean
        enabled:
          default: true
          example: true
          type: boolean
        id:
          readOnly: true
          type: string
        ip_whitelist:
          $ref: '#/components/schemas/IPWhitelist-read'
        plain_password:
          minLength: 6
          type:
            - string
            - 'null'
        quota:
          type: integer
        username:
          minLength: 6
          type: string
        hash:
          readOnly: true
          type: string
        quota_str:
          readOnly: true
          type: string
        bytes_recv:
          type: integer
        bytes_sent:
          type: integer
        consumption:
          readOnly: true
          type: integer
        consumption_str:
          readOnly: true
          type: string
    IPWhitelist-read:
      type: object
      description: ''
      deprecated: false
      properties:
        ips:
          type: array
          items:
            type: string
        ports:
          type: array
          items:
            $ref: '#/components/schemas/Port-read'
        is_enabled:
          type: boolean
    Port-read:
      type: object
      description: ''
      deprecated: false
      properties:
        port:
          minimum: '2000'
          maximum: '2999'
          type: integer
        type:
          enum:
            - residential
            - mobile
          type:
            - string
            - 'null'
        country:
          minLength: 2
          maxLength: 2
          pattern: ^([A-Z]+)$
          type:
            - string
            - 'null'
        city:
          minLength: 1
          maxLength: 100
          pattern: ^([a-z'-]+)$
          type:
            - string
            - 'null'
        session:
          minLength: 3
          maxLength: 32
          type:
            - string
            - 'null'
        sess_time:
          minimum: 1
          maximum: 60
          type:
            - integer
            - 'null'
        sess_replace:
          type:
            - boolean
            - 'null'
        sess_ip_collision:
          enum:
            - strict
            - flexible
          type:
            - string
            - 'null'
  securitySchemes:
    apiHeader:
      type: apiKey
      description: Value for the api-key header parameter.
      name: api-key
      in: header

````