Delete Document Properties

Introduction

This article shows you how to delete document properties from a PowerPoint presentation. The request methods described below can be used for deleting one or all properties at once.

DeleteDocumentProperties

API Information

API Type Description Resource
/slides/{name}/documentproperties DELETE Deletes all document properties from a presentation. DeleteDocumentProperties

Request Parameters

Name Type Location Required Description
name string path true The name of a presentation file.
password string header false The password to open the presentation.
folder string query false The path to the folder containing the presentation.
storage string query false The name of the storage contaning the folder.

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

Examples

Delete all document properties from MyFolder/MyPresentation.pptx document saved to the default storage. Use MyPassword string to open the presentation.

cURL Solution

SDK Solutions

DeleteDocumentProperty

API Information

API Type Description Resource
/slides/{name}/documentproperties/{propertyName} DELETE Deletes a document property from a presentation. DeleteDocumentProperty

Request Parameters

Name Type Location Required Description
name string path true The name of a presentation file.
propertyName string path true The name of a document property to be deleted.
password string header false The password to open the presentation.
folder string query false The path to the folder containing the presentation.
storage string query false The name of the storage contaning the folder.

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

Examples

Delete the custom document property named MyProperty from MyFolder/MyPresentation.pptx saved to the default storage.

cURL Solution

SDK Solutions

SDKs

Using an SDK (API client) is the quickest way for a developer to speed up development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Check out our GitHub repository for a complete list of Aspose.Slides Cloud SDKs along with working examples, to get you started in no time. Please check Available SDKs article to learn how to add an SDK to your project.