Delete Comments

Introduction

Comments in PowerPoint presentations are a tool that allows users to add explanations, notes, and discussions to each individual slide of a presentation. This functionality is valuable for collaborative work on a presentation, especially when multiple people are involved in the creation or editing process. The following API methods are for deleting comments from presentations.

You can delete all comments, or comments by a specific author. There is [a method]((/slides/get-comment-authors/) to retrieve the list of comment authors.

DeleteComments

API Information

API Type Description Resource
/slides/{name}/comments DELETE Deletes comments from a presentation saved in a storage. DeleteComments

Request Parameters

Name Type Location Required Description
name string path true The name of the presentation file saved in a storage.
author string query false The author of the comments. If the author is not specified, all comments will be deleted.
password string header false The password to open the presentation.
folder string query false The folder where the presentation file is located.
storage string query false The storage where the presentation file is located.

In case of Amazon S3 storage folder path starts with Amazon S3 bucket name.

Examples

Delete comments from author John Smith in the document MyPresentation.pptx.

cURL Solution

SDK Solutions

DeleteCommentsOnline

API Information

API Type Description Resource
/slides/comments/delete POST Deletes comments from a presentation saved in a local file. DeleteCommentsOnline

Request Parameters

Name Type Location Required Description
document file formData true The presentation file.
author string query false The author of the comments. If the author is not specified, all comments will be deleted.
password string header false The password to open the presentation.

DeleteSlideComments

API Information

API Type Description Resource
/slides/{name}/slides/{slideIndex}/comments DELETE Deletes slide comments from a presentation saved in a storage. DeleteSlideComments

Request Parameters

Name Type Location Required Description
name string path true The name of the presentation file saved in a storage.
slideIndex integer path true The 1-based index of the slide.
author string query false The author of the comments. If the author is not specified, all comments will be deleted.
password string header false The password to open the presentation.
folder string query false The folder where the presentation file is located.
storage string query false The storage where the presentation file is located.

In case of Amazon S3 storage folder path starts with Amazon S3 bucket name.

Examples

Delete comments from author John Smith on the first slide in the document MyPresentation.pptx.

cURL Solution

SDK Solutions

DeleteSlideCommentsOnline

API Information

API Type Description Resource
/slides/slides/{slideIndex}/comments/delete POST Deletes slide comments from a presentation saved in a local file. DeleteSlideCommentsOnline

Request Parameters

Name Type Location Required Description
document file formData true The presentation file.
slideIndex integer path true The 1-based index of the slide.
author string query false The author of the comments. If the author is not specified, all comments will be deleted.
password string header false The password to open the presentation.

SDKs

Check Available SDKs to learn how to add an SDK to your project.