OptimizeActionModel Data Type

This action is used to optimize the document with the specified profile.

Properties
name data type description
profileName string The name of the profile to optimize with.
Properties inherited from DocumentActionModel
savePath string Path to save the modified document. If not provided, the original document will be overwritten.
namingMode number The behavior when saving the modified document to a new path that already exists. Valid values are: 0-Throw a bad request exception, 1-Overwrite the existing file, 2-Append a random number to the file name.

Example

{
  "profileName" : "...",
  "savePath" : "...",
  "namingMode" : 12345
}