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

# Update a brand

> All fields optional. Pass `null` on `websiteUrl`/`logoUrl` to clear them.



## OpenAPI

````yaml /openapi.json patch /api/v1/snacks/brands/{id}
openapi: 3.1.0
info:
  title: VidGuy API
  version: 1.0.0
  description: >-
    Make videos, snacks, carousels, images and audio with VidGuy, and post them
    to your connected accounts. Authenticate with a `vf_live_` key as a Bearer
    token.
servers:
  - url: https://www.vidguy.ai
security:
  - ApiKeyAuth: []
tags:
  - name: Jobs
  - name: Credits
  - name: Brands
  - name: Snacks and memes
  - name: Videos
  - name: Carousels and slides
  - name: Images and video models
  - name: Characters
  - name: Editing
  - name: Assets
  - name: Audio
  - name: Social posting
paths:
  /api/v1/snacks/brands/{id}:
    patch:
      tags:
        - Brands
      summary: Update a brand
      description: >-
        All fields optional. Pass `null` on `websiteUrl`/`logoUrl` to clear
        them.
      operationId: updateSnackBrand
      parameters:
        - schema:
            type: string
            example: ef7eff3e-e1d3-4ff2-b2d0-d5d274b460ee
          required: true
          name: id
          in: path
          description: The tenant brand UUID.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateSnackBrandRequest'
      responses:
        '200':
          description: Brand updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SnackBrand'
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Brand not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    UpdateSnackBrandRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 100
        description:
          type: string
          minLength: 30
          maxLength: 2000
        industry:
          type: string
          minLength: 1
          maxLength: 100
        targetAudience:
          type: string
          minLength: 1
          maxLength: 1000
        websiteUrl:
          type:
            - string
            - 'null'
          maxLength: 500
          format: uri
        logoUrl:
          type:
            - string
            - 'null'
          maxLength: 500
          format: uri
        appDemo:
          type:
            - string
            - 'null'
          maxLength: 500
          format: uri
          description: Deprecated, single demo URL; prefer appDemos
        appDemos:
          type:
            - array
            - 'null'
          items:
            type: string
            maxLength: 500
            format: uri
          maxItems: 10
        screenshots:
          type: array
          items:
            type: string
            maxLength: 500
            format: uri
          maxItems: 10
    SnackBrand:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        industry:
          type: string
        description:
          type: string
        targetAudience:
          type: string
        websiteUrl:
          type:
            - string
            - 'null'
        logoUrl:
          type:
            - string
            - 'null'
        appDemo:
          type:
            - string
            - 'null'
          description: Deprecated, first entry of appDemos, kept for back-compat
        appDemos:
          type: array
          items:
            type: string
          description: >-
            Demo video URLs. The broll-demo snack picks one at random per
            generation.
        screenshots:
          type: array
          items:
            type: string
        createdAt:
          type: string
        updatedAt:
          type: string
      required:
        - id
        - name
        - industry
        - description
        - targetAudience
        - websiteUrl
        - logoUrl
        - appDemo
        - appDemos
        - screenshots
        - createdAt
        - updatedAt
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          example: Invalid request
        message:
          type: string
        details:
          type: object
          additionalProperties: {}
      required:
        - error
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: 'Send your API key in the Authorization header: `Bearer vf_live_...`'

````

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