Skip to main content
PATCH
/
api
/
knowledge-bases
/
{id}
Update knowledge base
curl --request PATCH \
  --url http://localhost:3000/api/knowledge-bases/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "status": "active"
}
'

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Knowledge base ID

Body

application/json
name
string

Knowledge base name

Required string length: 1 - 128
description
string

Knowledge base description

Maximum string length: 2000
status
enum<string>

Knowledge base status

Available options:
active,
archived

Response

Knowledge base updated successfully