Skip to main content
DELETE
Delete file knowledge
Required scope: AGENTS_WRITE

Behavior

Removes an uploaded document from the receptionist’s knowledge. Returns 204 with no body. Documents are uploaded in the Allo app, on the receptionist’s knowledge screen. This API lists them under knowledge.files on Get configuration and deletes them.

Errors

  • 404 AGENT_KNOWLEDGE_NOT_FOUND: no entry with that id on this line’s receptionist. An entry belonging to another line answers the same way.
  • 404 PHONE_NUMBER_NOT_FOUND: the number is not one you have access to.

Authorizations

Authorization
string
header
required

Path Parameters

number
string
required

Allo phone number in E.164 format

Example:

"+14155551234"

id
string
required

Identifier of the file knowledge entry, as returned by GET /v2/api/numbers/{number}/agent

Example:

"fkb-abc123"

Response

Deleted