PATCH
/
v4
/
knowledge-bases
/
{knowledge_base_id}
import SGPClient from 'sgp';

const client = new SGPClient({
  apiKey: process.env['SGP_API_KEY'], // This is the default and can be omitted
});

const knowledgeBase = await client.knowledgeBases.update('knowledge_base_id');

console.log(knowledgeBase.knowledge_base_name);
{
  "knowledge_base_name": "<string>",
  "metadata": {}
}

Authorizations

x-api-key
string
header
required

Path Parameters

knowledge_base_id
string
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.