delete
https://api-v2.pandavideo.com.br/funnels/remove_videos
Removes one or more videos from a funnel
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
DELETE /funnels/remove_videos
Removes one or more videos from a funnel without deleting the videos themselves.
AuthorizationRequires a valid API Key in the
Authorizationheader. Send the key directly — noBearerprefix.
videos[]is an array of UUID strings — not objectsThe body field is a flat array of video IDs (
["uuid", "uuid", ...]). Sending[{ "id": "..." }]returns400 "must be string". This is the same mistake the Panda dashboard explicitly guards against.
HTTP Method & Path
DELETE /funnels/remove_videos
Base URL: https://api-v2.pandavideo.com.br
Authentication Requirements
| Header | Value |
|---|---|
Authorization | <your-api-key> (no Bearer prefix) |
Request Body
Content-Type: application/json
Body Parameters
| Field | Type | Required | Description |
|---|---|---|---|
id | string (uuid) | yes | Funnel identifier. |
videos | array of string (uuid) | yes | Non‑empty list of video IDs to detach. Flat strings, not objects. |
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"videos": [
"f1f2f3f4-aaaa-bbbb-cccc-d1d2d3d4d5d6",
"f1f2f3f4-aaaa-bbbb-cccc-d1d2d3d4d5d7"
]
}Response
Success Response (200)
{ "message": "Videos removed from funnel successfully" }
Side effects.
- For each removed video whose current
folder_idequals the funnel's folder,folder_idis set tonull(video leaves the funnel's folder).funnel_videosrows are deleted.- The video itself is not deleted.
Error Responses
- 400 — empty
videos[], item type other than string (the inline guard"must be string"), or one of the IDs does not exist ("Video does not exist."). - 403 — user does not belong to the funnel's organization.
- 404 — funnel does not exist.
- 401 — missing/invalid API Key.
- 500 — internal error.
Example Usage
cURL
curl --request DELETE \
--url 'https://api-v2.pandavideo.com.br/funnels/remove_videos' \
--header 'Authorization: <your-api-key>' \
--header 'Content-Type: application/json' \
--data '{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"videos": ["f1f2f3f4-aaaa-bbbb-cccc-d1d2d3d4d5d6"]
}'