Skip to main content
DELETE
/
library
/
files
/
{fileId}
Delete a file
curl --request DELETE \
  --url https://api.closebot.com/library/files/{fileId} \
  --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 delete.

Response

Success