Dela via


Remove a visual

This API provides a way to remove a visual from a report page programmatically.

Note

When making changes to a report, make sure to recapture any affected bookmarks.

How to remove a visual from a report page

Remove a visual from a report page by using the deleteVisual method. visualName is a unique identifier that can be retrieved from the created visual response or by using the GetVisuals API.

deleteVisual(visualName: string): Promise<void>

Code examples

await page.deleteVisual("8d0e01e7a860c2e5706d");

Next steps