> ## 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.

# Link Brand To Team

> Link a Brand to an Agent Team.

Resolves to the brand's default business kit (is_default=true) and stores
its id in agent_teams.brand_kit_id. This is the one-for-one replacement
for POST /brand-kits/{kit_id}/link-team/{team_id} — the user picks a
Brand, we handle kit resolution internally.



## OpenAPI

````yaml /openapi.json post /api/v1/brands/{brand_id}/link-team/{team_id}
openapi: 3.1.0
info:
  title: AITasker
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/brands/{brand_id}/link-team/{team_id}:
    post:
      tags:
        - Brands
        - Brands
      summary: Link Brand To Team
      description: >-
        Link a Brand to an Agent Team.


        Resolves to the brand's default business kit (is_default=true) and
        stores

        its id in agent_teams.brand_kit_id. This is the one-for-one replacement

        for POST /brand-kits/{kit_id}/link-team/{team_id} — the user picks a

        Brand, we handle kit resolution internally.
      operationId: link_brand_to_team_api_v1_brands__brand_id__link_team__team_id__post
      parameters:
        - name: brand_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Brand Id
        - name: team_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Team Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Link Brand To Team Api V1 Brands  Brand Id  Link
                  Team  Team Id  Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    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

````