Skip to main content
DELETE
/
library
/
files
/
{fileId}
/
source
/
{sourceId}
Detach a file from a source
curl --request DELETE \
  --url https://api.closebot.com/library/files/{fileId}/source/{sourceId} \
  --header 'X-CB-KEY: <api-key>'
{
  "type": "<string>",
  "title": "<string>",
  "status": 123,
  "detail": "<string>",
  "instance": "<string>"
}

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Path Parameters

fileId
string
required

The ID of the file to detach.

sourceId
string
required

The ID of the source to detach the file from.

Response

Success