Presets
Apply preset
Changed onApply 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.
post/cdn/presets/{preset_id}/applied
Request
- Base URLhttps://api.gcore.com
- URLhttps://api.gcore.com/cdn/presets/{preset_id}/applied
- AuthHTTP apikey
Path parameters
preset_idinteger required
Preset ID.
Request body
Example request
{
"object_id": 7531
}Response
Successful.
Example response
{
"preset_id": 42,
"object_id": 7531,
"message": "Preset successfully applied"
}Changes
- info
endpoint added
- info