Skip to main content
DELETE
/
api
/
v1
/
files
/
{file_id}
Delete file
import requests

url = "https://api.memic.ai/api/v1/files/{file_id}"

headers = {"X-API-Key": "<api-key>"}

response = requests.delete(url, headers=headers)

print(response.text)
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Memic API key. Every key is bound to exactly one environment — get one from the Memic dashboard under API Keys.

Path Parameters

file_id
string<uuid>
required

Response

Successful Response