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

# Update the account's per-customer fairness configuration

> Admin only. Only the fields you supply are changed. Fairness is a paid-plan feature. See NESTING_MINUTES_FAIRNESS_DESIGN.md.



## OpenAPI

````yaml /openapi.json patch /admin/fairness/config
openapi: 3.0.0
info:
  title: NestAPI
  version: '1.0'
servers:
  - description: Staging
    url: https://dev.api.nestapi.com
security: []
tags:
  - name: account
    description: API key and account management
  - name: ApiAdmin
  - name: auth
  - name: fairness
    description: >-
      Per-customer nesting-minutes fairness config, weights and usage (requires
      an Admin API key)
  - name: importer
  - name: nesting
    description: Submit nesting jobs, retrieve results and exports
  - name: public
    description: Health check and public utility endpoints
paths:
  /admin/fairness/config:
    parameters:
      - $ref: '#/components/parameters/Accept'
    patch:
      tags:
        - fairness
      summary: Update the account's per-customer fairness configuration
      description: >-
        Admin only. Only the fields you supply are changed. Fairness is a
        paid-plan feature. See NESTING_MINUTES_FAIRNESS_DESIGN.md.
      operationId: SetFairnessConfig
      parameters:
        - name: FairnessEnabled
          in: query
          schema:
            type: boolean
        - name: OverageEnabled
          in: query
          schema:
            type: boolean
        - name: DefaultLineageWeight
          in: query
          schema:
            type: integer
            format: int32
        - name: BurstPercent
          in: query
          schema:
            type: integer
            format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetFairnessConfig'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FairnessConfigResponse'
      deprecated: false
      security:
        - Bearer: []
components:
  parameters:
    Accept:
      name: Accept
      in: header
      description: Accept Header
      required: true
      schema:
        type: string
        enum:
          - application/json
  schemas:
    SetFairnessConfig:
      title: SetFairnessConfig
      properties:
        FairnessEnabled:
          type: boolean
        OverageEnabled:
          type: boolean
        DefaultLineageWeight:
          type: integer
          format: int32
        BurstPercent:
          type: integer
          format: int32
      description: SetFairnessConfig
      type: object
    FairnessConfigResponse:
      title: FairnessConfigResponse
      properties:
        FairnessEnabled:
          type: boolean
          nullable: false
        OverageEnabled:
          type: boolean
          nullable: false
        DefaultLineageWeight:
          type: integer
          format: int32
          nullable: false
        BurstPercent:
          type: integer
          format: int32
          nullable: false
      description: FairnessConfigResponse
      type: object
  securitySchemes:
    Bearer:
      type: apiKey
      name: Authorization
      in: header

````