---
title: "Get CDN resource applied preset fields"
method: GET
path: "/cdn/resources/{resource_id}/preset"
tags: ["Presets"]
---

# Get CDN resource applied preset fields

`GET /cdn/resources/{resource_id}/preset`

## Request

- Base URL: `https://api.gcore.com`
- URL: `https://api.gcore.com/cdn/resources/{resource_id}/preset`
- Auth: HTTP apikey

Get the preset applied to a CDN resource and the list of resource fields managed by the preset.

## Path parameters

- `resource_id` integer, required

## Response `200`

Successful.

- AppliedPresetFieldsResponse: Preset applied to the object and the list of object fields that are managed by the preset.
  - `id` integer: ID of the applied preset.
  - `name` string: Name of the applied preset.
  - `deletable` boolean: Defines whether the applied preset can be unapplied from the object by the current user.
  - `fields` string[]: Object fields managed by the preset. Option fields are prefixed with `options.`.

## Other responses

- `404`: CDN resource does not exist or has no applied preset.

## Changes

- **2026-09-04** `796429501557`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/g-core/apis/gcore-openapi/changes/cdn/resources/:resource_id/preset/get.md)

---

[API](https://skmtc.dev/g-core/apis/gcore-openapi.md) - [All operations](https://skmtc.dev/g-core/apis/gcore-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/g-core/apis/gcore-openapi/revisions/a2b772345f3a?raw)
