import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const chatThread = await client.chatThreads.delete('thread_id');
console.log(chatThread);
"<any>"
import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const chatThread = await client.chatThreads.delete('thread_id');
console.log(chatThread);
"<any>"
Successful Response
The response is of type any
.