Skip to main content

Adding security to a presentation

Adding security will allow you to set encyrption and/or write protection on a presentation.

You can view the full Swagger documentation here.

Request

curl --location 'https://presentation-api.doclabs.cloud/api/v1/MyDocument.pptx/security/protect?storageName=MyBucketName' \
--header 'Content-Type: application/json' \
--header 'x-api-key: ••••••' \
--data '{
"encrypt": true,
"encryptionPassword": "Pnf9ZQ2eKpf7Mn"
}'

Response

{
"bucketName": "MyBucketName",
"contentPathName": "CopyOfTheOriginal.pptx"
}