DELETE
/
knowledge
/
{knowledge_base_id}
/
files
/
{file_id}
import requests

url = "https://api.opper.ai/v2/knowledge/{knowledge_base_id}/files/{file_id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.request("DELETE", url, headers=headers)

print(response.text)
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

knowledge_base_id
string
required

The id of the knowledge base

file_id
string
required

The id of the file to delete

Response

204

Successful Response