> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gcore.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Edit an origin group

> Change the origins a CDN resource uses, or delete the group.

An origin group is the set of sources a CDN resource pulls content from.

<Steps>
  <Step title="Navigate to CDN > Origin groups">
    Search by name or ID, or by source, bucket name, or FastEdge app ID.
  </Step>

  <Step title="Open Edit">
    Click the group name, or click the three dots at the end of the row and then **Edit**.
  </Step>

  <Step title="Change the name and the URL source">
    * Change **Origin group name**.
    * For a **URL** source, set **Origin source** to the host or IP address, without `http://` or `https://`.
    * Clear **Use default port** to enter a port.
    * Switching that source to **S3 storage** or **FastEdge** opens a warning that the current configuration is reset. Click **Change** to continue.

    <Frame>
      <img src="https://mintcdn.com/gcore/Nbp9NWcfeDrP4wS6/images/docs/reseller-support/cdn/origin-groups/origin-group.png?fit=max&auto=format&n=Nbp9NWcfeDrP4wS6&q=85&s=f4205d3c521cfee4c2dd4dc55d8bac4e" alt="Edit origin group" width="1920" height="911" data-path="images/docs/reseller-support/cdn/origin-groups/origin-group.png" />
    </Frame>
  </Step>

  <Step title="Add a source">
    * Click **Add origin** and fill in the new source.
    * With more than one source, **Use next upstream** sends the request to the next source in the list when a source returns an error.
    * Set a source to **Active** or **Use origin as a backup**.
    * **Delete origin** removes a source.
  </Step>

  <Step title="Click Save changes" />
</Steps>

## Delete an origin group

<Steps>
  <Step title="Navigate to CDN > Origin groups">
    Click the three dots at the end of the row and then **Delete**.

    <Frame>
      <img src="https://mintcdn.com/gcore/Nbp9NWcfeDrP4wS6/images/docs/reseller-support/cdn/origin-groups/delete-menu.png?fit=max&auto=format&n=Nbp9NWcfeDrP4wS6&q=85&s=b5df08aeb599aa1f3273cc87d738ed9b" alt="Edit and Delete in the row menu" width="525" height="350" data-path="images/docs/reseller-support/cdn/origin-groups/delete-menu.png" />
    </Frame>
  </Step>

  <Step title="Click Yes, delete" />
</Steps>
