Delete an assistant
client.assistants.delete(stringid, RequestOptionsoptions?): AssistantDeleteResponse { success }
DELETE/assistants/{id}
Permanently delete an assistant by its ID. Any future calls referencing this assistant ID will fail. Existing call records that used this assistant are not affected.
Parameters
id: string
Returns
Delete an assistant
import Revox from '@revoxai/sdk';
const client = new Revox({
apiKey: process.env['REVOX_API_KEY'], // This is the default and can be omitted
});
const assistant = await client.assistants.delete('id');
console.log(assistant.success);{
"success": true
}Returns Examples
{
"success": true
}