Apply preset
Apply the preset to an object (CDN resource or rule, according to the preset object_type).
The preset settings are applied to the object, and the options included in the preset can no longer be edited on the object until the preset is unapplied.
Authorizations
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234_abcdef
Path Parameters
Preset ID.
Body
ID of the object (CDN resource or rule, according to the preset object_type) to apply the preset to.
7531
Response
Successful.
ID of the preset that is applied to the object. Matches the preset_id path parameter.
42
ID of the object (CDN resource or rule, according to the preset object_type) the preset is applied to.
7531
Deprecated. Use preset_id and object_id instead. This field is kept for backward compatibility
and will be removed in a future version.
"Preset successfully applied"