Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Cloud CDN
  • Getting started
    • All guides
    • Connecting to a Cloud CDN provider
      • Creating an origin group
      • Editing an origin group
      • Connecting an origin group to a resource
      • Getting information about origins
      • Deleting an origin group
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • Troubleshooting

In this article:

  • Editing a group
  • Removing one origin from a group
  • Removing multiple origins from a group
  1. Step-by-step guides
  2. Origin groups
  3. Editing an origin group

Editing an origin group

Written by
Yandex Cloud
Updated at May 13, 2025
  • Editing a group
  • Removing one origin from a group
  • Removing multiple origins from a group

Editing a group

To edit an origin group:

Management console
CLI
API
  1. In the management console, select the folder where you want to create a resource group.
  2. Select Cloud CDN.
  3. In the left-hand panel, select Origin groups.
  4. Select the group to edit.
  5. In the top-right corner, click Edit.
  6. Edit as appropriate.
  7. Click Save.

If you do not have the Yandex Cloud (CLI) command line interface yet, install and initialize it.

The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

  1. View a description of the CLI origin group edit command below:

    yc cdn origin-group update --help
    
  2. Get a list of all origin groups in the default folder:

    yc cdn origin-group list --format yaml
    

    Result:

    - id: "90209"
      folder_id: b1g86q4m5vej********
      name: test-group-1
    ...
        origin_group_id: "90208"
        source: www.a1.com
        enabled: true
    
  3. Edit the settings of the origin group by specifying the group ID:

    yc cdn origin-group update --id <origin_group_ID> \
      --name <new_group_name> \
      --origin source=<new_origin_IP_address_or_domain_name>,enabled=true \
      --origin source=<new_origin_IP_address_or_domain_name>,enabled=true,backup=true
    

    Where --origin is the origin specification:

    • source: New origin's IP address or domain name.
    • enabled: Flag showing whether the origin is enabled.
    • backup: Flag showing whether the origin as a backup one.

    Result:

    id: "90209"
    folder_id: b1g86q4m5vej********
    name: test-group-22
    ...
      origin_group_id: "90209"
      source: www.site1.com
      enabled: true
    

    For more information about the yc cdn origin-group update command, see the CLI reference.

To update an origin group, use the update REST API method for the OriginGroup resource or the OriginGroupService/Update gRPC API call.

Removing one origin from a group

Note

You can only delete backup origins.

To remove an origin from an origin group:

Management console
API
  1. In the management console, select the folder where you want to create a resource group.
  2. Select Cloud CDN.
  3. In the left-hand panel, select Origin groups and click the name of the group to delete an origin from.
  4. Select the appropriate origin and click Delete in the bottom panel.
  5. In the window that opens, click Delete.

Use the delete REST API method for the Origin resource or the OriginService/Delete gRPC API call.

Removing multiple origins from a group

Note

You can only delete backup origins.

To remove multiple origins from a group:

Management console
  1. In the management console, select the folder where you want to create a resource group.
  2. Select Cloud CDN.
  3. In the left-hand panel, select Origin groups and click the name of the group to delete an origin from.
  4. Select the appropriate origins and click Delete in the bottom panel.
  5. In the window that opens, click Delete.

Was the article helpful?

Previous
Creating an origin group
Next
Connecting an origin group to a resource
Yandex project
© 2025 Yandex.Cloud LLC