Skip to main content
DELETE
Delete FAQ entries

Overview

Permanently remove one or more FAQ entries from an agent by providing their faqId values. If all entries are deleted, faqEnabled is automatically set to false on the agent.

Required Permission

agents

Path Parameters

Request Body

Example cURL

Response

Success (200)

Response Fields

Error Responses

404 Not Found - Agent does not exist

Use Cases

  • Removing outdated or incorrect FAQ entries
  • Clearing the knowledge base before a full re-import
  • Freeing up capacity within the 100-entry limit
This action is permanent. Confirm the IDs with List FAQs before deleting.
Deleting all entries automatically sets faqEnabled = false on the agent. Adding new entries via Add FAQs or Import FAQs will re-enable it.
Save the requestId from every response. You will need it if you contact Inya support to trace a specific request.

Authorizations

x-api-key
string
header
required

API key with 'agents' permission

Path Parameters

botId
string
required

Unique identifier of the agent

Body

application/json
botId
string
required
environment
enum<string>
required
Available options:
development,
staging,
production
faqIds
string[]
required

Response

FAQs deleted successfully

status
string
Example:

"success"

requestId
string
Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

message
string
response
object