Authorizations
Path Parameters
Body
application/json
List of artifact ids to delete
Required array length:
1 - 100
elementsResponse
Successful Response
List of artifact ids that were deleted
import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const response = await client.knowledgeBases.artifacts.batchDelete('knowledge_base_id', {
artifact_ids: ['string'],
});
console.log(response.artifact_ids);
{
"artifact_ids": [
"<string>"
]
}
import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const response = await client.knowledgeBases.artifacts.batchDelete('knowledge_base_id', {
artifact_ids: ['string'],
});
console.log(response.artifact_ids);
{
"artifact_ids": [
"<string>"
]
}
List of artifact ids to delete
1 - 100
elementsSuccessful Response
List of artifact ids that were deleted