> ## 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.

**1. Navigate to CDN > Origin groups**

Search by name or ID, or by source, bucket name, or FastEdge app ID.

**2. Open Edit**

Click the group name, or click the three dots at the end of the row and then **Edit**.

**3. 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.

![Edit origin group](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)

**4. 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.

**5. Click Save changes**

## Delete an origin group

**1. Navigate to CDN > Origin groups**

Click the three dots at the end of the row and then **Delete**.

![Edit and Delete in the row menu](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)

**2. Click Yes, delete**
