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

# Admin Update Team Faqs

> Replace a team's FAQs list.



## OpenAPI

````yaml /openapi.json patch /api/v1/admin/teams/{slug}/faqs
openapi: 3.1.0
info:
  title: AITasker
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/admin/teams/{slug}/faqs:
    patch:
      tags:
        - Admin
      summary: Admin Update Team Faqs
      description: Replace a team's FAQs list.
      operationId: admin_update_team_faqs_api_v1_admin_teams__slug__faqs_patch
      parameters:
        - name: slug
          in: path
          required: true
          schema:
            type: string
            title: Slug
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamFaqsUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    TeamFaqsUpdate:
      properties:
        faqs:
          items:
            additionalProperties: true
            type: object
          type: array
          minItems: 1
          title: Faqs
        note:
          anyOf:
            - type: string
              maxLength: 500
            - type: 'null'
          title: Note
      additionalProperties: false
      type: object
      required:
        - faqs
      title: TeamFaqsUpdate
      description: |-
        Replace the `faqs` JSONB list for a team.

        Each entry must have non-blank `question` + `answer` strings — an empty
        FAQ row is worse than no row at all (breaks the accordion render).
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````