Skip to main content
DELETE
/
api
/
v1
/
users
/
{id}
Users:Delete User
curl --request DELETE \
  --url https://api.cognee.ai/api/v1/users/{id} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.cognee.ai/api/v1/users/{id}"

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

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

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

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

Successful Response