Remove a folder referrer

Removes one or more domains from a folder. Accepts a single refer_id or an array.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

DELETE /library/{library_id}?action=folder_refer

Removes one or more domains from a folder. Removal is asynchronous — the referrer moves to deleting and a worker completes the removal at the CDN.

🚧

action=folder_refer is required

Without the action query parameter the request does not reach this operation.

📘

Authorization

Requires a valid API token in the Authorization header (without Bearer prefix). The library_id and the referrer must belong to the authenticated user.

HTTP Method & Path

DELETE /library/{library_id}?action=folder_refer

Base URL: https://api-v2.pandavideo.com.br

Authentication Requirements

HeaderValue
AuthorizationYour Panda API token (no Bearer prefix)

Path Parameters

NameTypeRequiredDescription
library_idstring (uuid)yesLibrary ID owned by the authenticated user

Query Parameters

NameTypeRequiredDescription
actionstringyesFixed value: folder_refer

Request Body

Content-Type: application/json

Body Parameters

NameTypeRequiredDescription
refer_idstring (uuid) | string[]yesReferrer ID to remove. An array removes several at once
{ "refer_id": "789e4567-e89b-12d3-a456-426614174999" }

Response

Success Response (200)

{ "message": "Refers are being removed" }
⚠️

Important

  • Passing a library-level referrer ID here returns 400 Cannot delete a library-level refer through folder endpoint. Use the library-level delete instead.
  • Removing every domain of a folder makes the folder fall back to the library-level list.
  • A referrer in an intermediate state (pending, deleting, turning_inactive) cannot be removed yet.

Error Responses

StatusWhen
400Cannot delete a library-level refer through folder endpoint, or the referrer is still syncing
404Referrer not found
500Internal error

Example Usage

cURL

curl -X DELETE \
  "https://api-v2.pandavideo.com.br/library/{library_id}?action=folder_refer" \
  -H "Authorization: $PANDA_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "refer_id": "{refer_id}" }'

Related

  • Remove a library domain: Delete library or folder referrers
  • Toggle without deleting: Toggle a single referrer status
Path Params
uuid
required

Library ID owned by the authenticated user

Body Params
uuid
Responses

400

Cannot delete a library-level refer through folder endpoint

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json