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

# Remove From Index

> Removes a video from a specified project index



## OpenAPI

````yaml POST /remove-from-index
openapi: 3.0.1
info:
  title: Moonshine API
  description: Video Understanding API
  version: 1.0.0
servers:
  - url: https://api.usemoonshine.com
security: []
paths:
  /remove-from-index:
    post:
      description: Removes a video from a specified project index
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - token
                - index
                - video_id
              properties:
                token:
                  type: string
                  description: Authentication token
                index:
                  type: string
                  description: Name of the media index
                video_id:
                  type: string
                  description: ID of the video to remove
            example:
              token: abc123
              project_id: xyz789
              video_id: vid456
      responses:
        '200':
          description: Video successfully removed
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - complete
                    description: Status of the removal operation
              example:
                status: complete
        '400':
          description: Invalid token
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - failed
                  error:
                    type: string
                    enum:
                      - invalid token
              example:
                status: failed
                error: invalid token
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - failed
                  error:
                    type: string
                    enum:
                      - project not found
                      - video not found
              examples:
                projectNotFound:
                  value:
                    status: failed
                    error: project not found
                videoNotFound:
                  value:
                    status: failed
                    error: video not found

````