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

# Set how many extra user seats the tenant holds

> The seat is usable immediately; the charge starts with the next period, because
billing a fraction of a period here would reintroduce the proration the billing
cycle is anchored specifically to avoid.



## OpenAPI

````yaml /api-referansi/openapi.json put /v1/billing/seats
openapi: 3.1.0
info:
  title: Flextell API
  version: 0.0.1
  description: >-
    Flextell REST API referansı. Kimlik doğrulama, scope ve istek kuralları için
    API sekmesindeki rehberlere bakın.
servers:
  - url: https://app.flextell.ai/api
    description: Üretim
security:
  - oauth2: []
  - bearer: []
paths:
  /v1/billing/seats:
    put:
      tags:
        - Billing
        - BillingSettings
      summary: Set how many extra user seats the tenant holds
      description: >-
        The seat is usable immediately; the charge starts with the next period,
        because

        billing a fraction of a period here would reintroduce the proration the
        billing

        cycle is anchored specifically to avoid.
      operationId: billingSettings.updateSeats
      parameters:
        - name: X-Tenant
          in: header
          required: true
          description: >-
            Tenant identifier. Send the Tenant ID in the `X-Tenant` header to
            scope API requests to a specific tenant.
          schema:
            type: number
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BillingSeatUpdateRequest'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                anyOf:
                  - type: object
                    properties:
                      success:
                        type: string
                      data:
                        type: object
                        properties:
                          extra_seats:
                            type: integer
                          plan_max_users:
                            type:
                              - integer
                              - 'null'
                          max_users_override:
                            type:
                              - integer
                              - 'null'
                          previous_extra_seats:
                            type: integer
                          effective_max_users:
                            type: integer
                          charged_from:
                            type: string
                        required:
                          - extra_seats
                          - plan_max_users
                          - max_users_override
                          - previous_extra_seats
                          - effective_max_users
                          - charged_from
                    required:
                      - success
                      - data
                  - type: string
        '401':
          $ref: '#/components/responses/AuthenticationException'
        '403':
          $ref: '#/components/responses/AuthorizationException'
        '422':
          $ref: '#/components/responses/ValidationException'
components:
  schemas:
    BillingSeatUpdateRequest:
      type: object
      properties:
        extra_seats:
          type: integer
          minimum: 0
          maximum: 500
      required:
        - extra_seats
      title: BillingSeatUpdateRequest
  responses:
    AuthenticationException:
      description: Unauthenticated
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    AuthorizationException:
      description: Authorization error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    ValidationException:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Errors overview.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
              - message
              - errors
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://dev.flextell.ai/oauth/authorize
          tokenUrl: https://dev.flextell.ai/oauth/token
          scopes:
            '*': all
    bearer:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.