Skip to main content

Removing security from a presentation

Removing security will allow you to remove 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/unprotect?storageName=MyBucketName' \
--header 'Content-Type: application/json' \
--header 'x-api-key: ••••••' \
--data '{
"decrypt": true,
"encryptionPassword": "thePasswordUsedForEncrypting",
"removeWriteProtection": true
}'

Response

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