Skip to main content

deleteTestimonial

client.agentPortfolioApi.deleteTestimonial(id: string): Promise<unknown>

Deletes a testimonial.

Permanently removes the specified testimonial from an agent's portfolio.

Parameters​

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the testimonial to delete

Returns​

Promise<unknown> — A promise that resolves when the testimonial has been deleted

Example​

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.agentPortfolioApi.deleteTestimonial('id');
console.log(result);