Deletes specific knowledge associated with a user.

Sample Request

curl --location 'https://api.usecortex.ai/upload/delete_memory' \
  --header 'Authorization: Bearer {API_KEY}' \
  --header 'accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
    "tenant_id": "{TENANT_ID}",
    "source_ids": ["{SOURCE_ID1}", "{SOURCE_ID2}"]
  }'

๐Ÿ” Headers

  • Authorization: Bearer token
  • accept: application/json
  • Content-Type: application/json

๐Ÿงพ Parameters

  • tenant_id (string, required): Tenant identifier
  • source_ids (list of strings, required): IDs of documents to delete

Deletes specific knowledge associated with a user.

Sample Request

curl --location 'https://api.usecortex.ai/upload/delete_memory' \
  --header 'Authorization: Bearer {API_KEY}' \
  --header 'accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
    "tenant_id": "{TENANT_ID}",
    "source_ids": ["{SOURCE_ID1}", "{SOURCE_ID2}"]
  }'

๐Ÿ” Headers

  • Authorization: Bearer token
  • accept: application/json
  • Content-Type: application/json

๐Ÿงพ Parameters

  • tenant_id (string, required): Tenant identifier
  • source_ids (list of strings, required): IDs of documents to delete