Skip to main content

deleteTestimonial

codebolt.agentPortfolio.deleteTestimonial(testimonialId: string): Promise<DeleteTestimonialResponse>

Deletes a testimonial by its ID.

Parameters​

  • testimonialId (string): The ID of the testimonial to delete.

Returns​

  • Promise<[DeleteTestimonialResponse](/docs/reference/codeboltjs/type-reference/codeboltjs/interfaces/DeleteTestimonialResponse)>: A promise that resolves when testimonial is deleted.

Examples​

await codebolt.agentPortfolio.deleteTestimonial('testimonial-123');

Notes​

  • Only the testimonial author can delete it
  • Deletion is permanent
  • Consider updating instead of deleting when possible