---
updatedAt: 2026-04-22T18:03:46.000Z
agentTools:
  projectIndex: https://docs.zype.com/llms.txt
---

# Delete a Video Source

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Platform",
    "version": "1.0.0",
    "description": ""
  },
  "servers": [
    {
      "url": "https://api.zype.com/"
    }
  ],
  "security": [
    {
      "api_key": []
    }
  ],
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "api_key",
        "in": "query"
      }
    }
  },
  "paths": {
    "/app": {
      "get": {
        "summary": "View App",
        "tags": [
          "Apps"
        ],
        "operationId": "getApp",
        "parameters": [
          {
            "name": "app_key",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "App key provided by Zype"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "title": "AppResponse",
                  "type": "object",
                  "properties": {
                    "response": {
                      "type": "object",
                      "title": "App",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "active": {
                          "type": "boolean"
                        },
                        "app_type_id": {
                          "type": "string"
                        },
                        "device_ids": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "site_id": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        },
                        "store_icon_url": {
                          "type": "string"
                        }
                      },
                      "example": {
                        "_id": "593b1ac8830ece0024000005",
                        "active": false,
                        "app_type_id": "1593030e94d740d00530000971",
                        "device_ids": [
                          "593030d64d740d0053000007"
                        ],
                        "site_id": "593031674d740d01cd000000",
                        "title": "Apple TV App",
                        "version": "0.1.0",
                        "store_icon_url": "https:/url"
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "App not found",
            "content": {
              "application/json": {
                "schema": {
                  "title": "NotFound",
                  "type": "object",
                  "required": [
                    "message"
                  ],
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/video_sources": {
      "post": {
        "summary": "Create Video Source",
        "description": "Only MRSS video sources may be created via the API at this time.",
        "tags": [
          "Video Sources"
        ],
        "operationId": "createVideoSource",
        "requestBody": {
          "description": "",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "title": "VideoSourceRequest",
                "type": "object",
                "required": [
                  "type"
                ],
                "properties": {
                  "type": {
                    "description": "Specify the type of Video Source. At the moment only `mrss` can be created ",
                    "type": "string",
                    "enum": [
                      "mrss"
                    ]
                  },
                  "video_source": {
                    "type": "object",
                    "title": "VideoSourceProperties",
                    "required": [
                      "url"
                    ],
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "url": {
                        "description": "URL of the MRSS feed. You can update this field for the following video source types: - MRSS",
                        "type": "string"
                      },
                      "category_id": {
                        "type": "string",
                        "description": "Category ID assigned to the video source"
                      },
                      "mrss_category_values": {
                        "type": "array",
                        "description": "List of MRSS category values"
                      },
                      "sync_interval": {
                        "type": "string",
                        "enum": [
                          "daily",
                          "hourly"
                        ],
                        "description": "How often this video source should sync with the MRSS feed (daily / hourly)"
                      },
                      "auto_add": {
                        "type": "boolean",
                        "description": "Automatically add new video sources to your video library as the feed is synced"
                      },
                      "auto_activate": {
                        "description": "Automatically activate new videos added to your video library",
                        "type": "boolean"
                      },
                      "auto_deactivate": {
                        "type": "boolean",
                        "description": "Automatically deactivate video data sources that are absent from this feed that have been previously imported"
                      },
                      "sync_video_data_source": {
                        "type": "boolean",
                        "description": "Automatically update video source attributes such as thumbnails and video files"
                      },
                      "import_from": {
                        "type": "string",
                        "description": "Exclude videos published before this date"
                      },
                      "import_to": {
                        "type": "string",
                        "description": "Exclude videos published after this date"
                      },
                      "to_zype_hosted": {
                        "type": "boolean",
                        "description": "Indicate if the content (media files) should imported and transcoded as Zype hosted"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "title": "VideoSourceResponse",
                  "type": "object",
                  "properties": {
                    "response": {
                      "title": "VideoSource",
                      "type": "object",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "created_at": {
                          "type": "string"
                        },
                        "updated_at": {
                          "type": "string"
                        },
                        "status": {
                          "description": "Options are `created` and `ready`",
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "guid": {
                          "description": "Globally unique identifier given by the video source",
                          "type": "string"
                        },
                        "category_id": {
                          "type": "string"
                        },
                        "auto_activate": {
                          "type": "boolean"
                        },
                        "auto_add": {
                          "type": "boolean"
                        },
                        "auto_deactivate": {
                          "type": "boolean"
                        },
                        "sync_interval": {
                          "type": "string"
                        },
                        "sync_video_data_source": {
                          "type": "boolean"
                        },
                        "url": {
                          "type": "string"
                        },
                        "import_from": {
                          "type": "string"
                        },
                        "import_to": {
                          "type": "string"
                        },
                        "editable": {
                          "type": "boolean"
                        },
                        "video_count": {
                          "description": "How many videos are part of this video source",
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1videos/get/responses/422/content/application~1json/schema"
                }
              }
            }
          }
        }
      }
    },
    "/video_sources/{id}": {
      "delete": {
        "summary": "Delete a Video Source",
        "description": "",
        "tags": [
          "Video Sources"
        ],
        "operationId": "deleteVideoSource",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "ID of video source"
          }
        ],
        "responses": {
          "204": {
            "description": "VideoSource deleted successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1video_sources/post/responses/201/content/application~1json/schema"
                }
              }
            }
          },
          "404": {
            "description": "VideoSource not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1app/get/responses/404/content/application~1json/schema"
                }
              }
            }
          }
        }
      }
    }
  }
}
```