DELETE
/
api
/
scraping
/
question-answer
/
{bot_id}
curl --request DELETE \
  --url https://backend.chatfly.co/api/scraping/question-answer/{bot_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "bot_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "question_answer_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}'
{
  "message_code": 123,
  "message": "<string>",
  "data": "<any>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Schema for deleting question and answer documents from the knowledge base.

bot_id
string
required

Unique identifier for the associated bot.

question_answer_ids
string[]
required

List of question and answer document IDs to be deleted.

Response

200
application/json
Successful Response

HTTP Response Schema.

message_code
integer
required

Numeric code indicating the type of message or response.

message
string
required

Human-readable message providing additional context about the response.

data
any

Optional data accompanying the response.