---
title: "Update CDNCluster"
method: PATCH
path: "/cdn-clusters/{id}"
tags: ["CDNCluster"]
---

# Update CDNCluster

`PATCH /cdn-clusters/{id}`

Update by json config

## Path parameters

- `id` string, required

## Request body

- TypesUpdateCDNClusterRequest
  - `bio` string
  - `config` TypesCDNClusterConfig
    - `load_limit` integer
    - `net_topology` string
  - `is_default` boolean
  - `name` string

## Response `200`

OK

- ModelCDNCluster
  - `application_id` integer
  - `bio` string
  - `config` ModelJSONMap
  - `created_at` string
  - `id` integer
  - `is_default` boolean
  - `jobs` ModelJob[]
    - `args` ModelJSONMap
    - `bio` string
    - `cdn_clusters` ModelCDNCluster[]
    - `created_at` string
    - `id` integer
    - `result` ModelJSONMap
    - `scheduler_clusters` ModelSchedulerCluster[]
      - `application_id` integer
      - `bio` string
      - `cdn_clusters` ModelCDNCluster[]
      - `client_config` ModelJSONMap
      - `config` ModelJSONMap
      - `created_at` string
      - `id` integer
      - `is_default` boolean
      - `jobs` ModelJob[]
      - `name` string
      - `scopes` ModelJSONMap
      - `security_group_id` integer
      - `updated_at` string
    - `state` string
    - `task_id` string
    - `type` string
    - `updated_at` string
    - `user_id` integer
  - `name` string
  - `scheduler_clusters` ModelSchedulerCluster[]
    - `application_id` integer
    - `bio` string
    - `cdn_clusters` ModelCDNCluster[]
    - `client_config` ModelJSONMap
    - `config` ModelJSONMap
    - `created_at` string
    - `id` integer
    - `is_default` boolean
    - `jobs` ModelJob[]
      - `args` ModelJSONMap
      - `bio` string
      - `cdn_clusters` ModelCDNCluster[]
      - `created_at` string
      - `id` integer
      - `result` ModelJSONMap
      - `scheduler_clusters` ModelSchedulerCluster[]
      - `state` string
      - `task_id` string
      - `type` string
      - `updated_at` string
      - `user_id` integer
    - `name` string
    - `scopes` ModelJSONMap
    - `security_group_id` integer
    - `updated_at` string
  - `security_group_id` integer
  - `updated_at` string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2021-11-29** `f61cd344dca7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/dragonflyoss/apis/dragonfly-manager/changes/cdn-clusters/:id/patch.md)

---

[API](https://skmtc.dev/dragonflyoss/apis/dragonfly-manager.md) · [All operations](https://skmtc.dev/dragonflyoss/apis/dragonfly-manager/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dragonflyoss/dragonfly-manager/revisions/f61cd344dca7/schema)
