---
title: "Change CDN service"
method: PATCH
path: "/cdn/clients/me"
tags: ["CDN service"]
---

# Change CDN service

`PATCH /cdn/clients/me`

Change information about CDN service.

## Request body

- ChangeCDNService
  - `utilization_level` integer — CDN traffic usage limit in gigabytes. When the limit is reached, we will send an email notification.

## Response `200`

Successful.

- CDNServiceResponse
  - `id` integer — Account ID.
  - `created` string — Date of the first synchronization with the Platform (ISO 8601/RFC 3339 format, UTC.)
  - `updated` string — Date of the last update of information about CDN service (ISO 8601/RFC 3339 format, UTC.)
  - `service` Service — Information about the CDN service status.
    - `enabled` boolean — Defines whether the CDN service is activated. Possible values: - **true** - Service is activated. - **false** - Service is not activated.
    - `status` string — CDN service status. Possible values: - **new** - CDN service is not activated. - **trial** - Free trial is in progress. - **trialend** - Free trial has ended and CDN service is stopped. All CDN resources are suspended. - **activating** - CDN service is being activated. It can take up to 15 minutes. - **active** - CDN service is active. - **paused** - CDN service is stopped. All CDN resources are suspended. - **deleted** - CDN service is stopped. All CDN resources are deleted.
    - `updated` string — Date of the last CDN service status update (ISO 8601/RFC 3339 format, UTC.)
  - `utilization_level` integer — CDN traffic usage limit in gigabytes. When the limit is reached, we will send an email notification.
  - `cname` string — Domain zone to which a CNAME record of your CDN resources should be pointed.
  - `use_balancer` boolean — Defines whether custom balancing is used for content delivery. Possible values: - **true** - Custom balancing is used for content delivery. - **false** - Custom balancing is not used for content delivery.
  - `auto_suspend_enabled` boolean — Defines whether resources will be deactivated automatically by inactivity. Possible values: - **true** - Resources will be deactivated. - **false** - Resources will not be deactivated.
  - `cdn_resources_rules_max_count` integer — Limit on the number of rules for each CDN resource.

## Other responses

- `400` — Invalid value of "utilization_level" parameter is provided.

---

[API](https://skmtc.net/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.net/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
