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

# Bulk update videos

> Updates up to 20 videos in a single request. Each item includes a video id and its own patch fields. Returns arrays of successfully updated video ids and failed updates.



## OpenAPI

````yaml /swagger/management-api.json patch /api/v1/{team_slug}/{app_slug}/videos/bulk
openapi: 3.0.0
info:
  contact:
    email: support@enad.io
    name: API support
    url: http://enad.io/support
  description: This is the documentation for Public API v1
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  termsOfService: http://enad.io/terms/
  title: Public API
  version: '1.0'
servers:
  - url: //api.enad.io
security: []
paths:
  /api/v1/{team_slug}/{app_slug}/videos/bulk:
    patch:
      tags:
        - Videos
        - Bulk
      summary: Bulk update videos
      description: >-
        Updates up to 20 videos in a single request. Each item includes a video
        id and its own patch fields. Returns arrays of successfully updated
        video ids and failed updates.
      parameters:
        - description: Team slug
          in: path
          name: team_slug
          required: true
          schema:
            type: string
        - description: App slug
          in: path
          name: app_slug
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/internal_pkg_webserver_v1.BulkUpdateVideosPayload
        description: Video patch items
        required: true
      responses:
        '200':
          description: Videos updated successfully
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/internal_pkg_webserver_v1.OkResponseBulkUpdateVideos
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/internal_pkg_webserver_v1.ErrorMessage'
        '401':
          description: Unauthorized access
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/internal_pkg_webserver_v1.ErrorMessage'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/internal_pkg_webserver_v1.ErrorMessage'
      security:
        - BearerAuth: []
components:
  schemas:
    internal_pkg_webserver_v1.BulkUpdateVideosPayload:
      properties:
        videos:
          items:
            $ref: '#/components/schemas/internal_pkg_webserver_v1.BulkPatchVideoItem'
          maxItems: 20
          minItems: 1
          type: array
      required:
        - videos
      type: object
    internal_pkg_webserver_v1.OkResponseBulkUpdateVideos:
      properties:
        data:
          $ref: >-
            #/components/schemas/internal_pkg_webserver_v1.BulkUpdateVideosResponse
        details:
          description: >-
            Additional contextual information about the response. Used to
            provide supplementary details beyond the main data payload, such as
            validation warnings or processing notes
          items:
            type: string
          type: array
        success:
          type: boolean
      type: object
    internal_pkg_webserver_v1.ErrorMessage:
      properties:
        details:
          items:
            type: string
          type: array
        message:
          type: string
        success:
          type: boolean
      type: object
    internal_pkg_webserver_v1.BulkPatchVideoItem:
      properties:
        description:
          type: string
        id:
          type: string
        public:
          type: boolean
        status:
          enum:
            - active
            - inactive
          type: string
        title:
          minLength: 1
          type: string
        translations:
          $ref: >-
            #/components/schemas/internal_pkg_webserver_v1.UpdateVideoTranslations
      required:
        - id
      type: object
    internal_pkg_webserver_v1.BulkUpdateVideosResponse:
      properties:
        failed:
          items:
            $ref: >-
              #/components/schemas/internal_pkg_webserver_v1.BulkPatchFailedUpdate
          type: array
        successful:
          items:
            type: string
          type: array
      type: object
    internal_pkg_webserver_v1.UpdateVideoTranslations:
      properties:
        description:
          items:
            $ref: >-
              #/components/schemas/internal_pkg_webserver_v1.VideoTranslationValue
          type: array
        title:
          items:
            $ref: >-
              #/components/schemas/internal_pkg_webserver_v1.VideoTranslationValue
          type: array
      type: object
    internal_pkg_webserver_v1.BulkPatchFailedUpdate:
      properties:
        id:
          type: string
        reason:
          type: string
      type: object
    internal_pkg_webserver_v1.VideoTranslationValue:
      properties:
        locale:
          type: string
        value:
          type: string
      required:
        - locale
      type: object

````