Skip to main content
GET
/
cdn
/
presets
/
{preset_id}
/
applied
Get applied preset objects
curl --request GET \
  --url https://api.gcore.com/cdn/presets/{preset_id}/applied \
  --header 'Authorization: <api-key>'
{
  "object_type": "CDNResource",
  "object_ids": [
    7531,
    7532
  ]
}

Authorizations

Authorization
string
header
required

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
integer
required

Preset ID.

Response

Successful.

object_type
string

Type of objects the preset is applied to.

Example:

"CDNResource"

object_ids
integer[]

IDs of the objects the preset is currently applied to.

Example:
[7531, 7532]