Skip to main content
PUT
/
knowledge
Update knowledge base
curl --request PUT \
  --url https://api.dev.knowmio.com/api/knowledge \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "teamId": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "organizationId": "<string>",
  "createdBy": "<string>",
  "name": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "teamId": "<string>"
}

Authorizations

x-api-key
string
header
required

API key for authentication (lowercase header name)

Query Parameters

id
string<uuid>
required

Knowledge item ID to update

organizationId
string

Organization ID - Required when using API Key authentication. Optional with session authentication (defaults to session's active organization).

Body

application/json
name
string

Name of the knowledge base

description
string | null

Description of the knowledge base

teamId
string | null

Team ID to associate this knowledge base with (null for personal knowledge)

Response

Knowledge base updated successfully

id
string<uuid>
required
organizationId
string
required
createdBy
string
required
name
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
description
string | null
teamId
string | null

Team ID if this is team knowledge, null for personal knowledge