delete
https://api-v2.pandavideo.com.br/library/?action=folder_refer
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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
DELETE /library/{library_id}?action=folder_refer
{library_id}?action=folder_referRemoves 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_referis requiredWithout the
actionquery parameter the request does not reach this operation.
AuthorizationRequires a valid API token in the
Authorizationheader (withoutBearerprefix). Thelibrary_idand 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
| Header | Value |
|---|---|
Authorization | Your Panda API token (no Bearer prefix) |
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
library_id | string (uuid) | yes | Library ID owned by the authenticated user |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
action | string | yes | Fixed value: folder_refer |
Request Body
Content-Type: application/json
Body Parameters
| Name | Type | Required | Description |
|---|---|---|---|
refer_id | string (uuid) | string[] | yes | Referrer 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
| Status | When |
|---|---|
400 | Cannot delete a library-level refer through folder endpoint, or the referrer is still syncing |
404 | Referrer not found |
500 | Internal 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
400Cannot delete a library-level refer through folder endpoint
