> For the complete documentation index, see [llms.txt](https://help.twinr.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.twinr.dev/segmentation/edit-and-delete-segment.md).

# Edit & Delete Segment

## Edit a Segment

1. Go to the **User Segment** dashboard from the left panel.
2. Locate the segment you want to modify.
3. Click the **three-dot menu (⋯)** under the **Actions** column.

<figure><img src="/files/GbNsnVVGuc6UqtxFspf1" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/dXc5wioBhv1bOIjxqcCO" alt=""><figcaption></figcaption></figure>

4. Select **Edit**.
5. The segment creation screen will open with pre-filled values.
6. Make your required changes to:
   * Segment name
   * Criteria (language, page visited, sessions)
   * AND/OR logic
7. Click **Update Segment** to save your changes.

> 🔄 The updated segment will immediately reflect in all push campaigns where it’s used.

## Delete a Segment

1. From the **User Segment** dashboard, click the **three-dot menu (⋯)** next to the segment.
2. Click **Delete**.

{% hint style="warning" %}
&#x20;**If the segment is currently used in a Push Notification campaign:**

* A **confirmation dialog** will appear, listing the **names of all scheduled Push Notification campaigns** that are using this segment.
* This is to help you identify what campaigns may be affected before proceeding.
  {% endhint %}

**Dialog Example:**

<figure><img src="/files/Vx1ggG9ILCcAu9p4CRMH" alt=""><figcaption></figcaption></figure>

3. If you still want to proceed, click **“Delete”** in the dialog.

***

### What Happens After Deletion?

* The segment is **permanently removed** from your project.
* Any Push Notifications that used this segment will be **updated to have no filtering**, meaning they will now be **sent to all users** unless manually edited.

{% hint style="danger" %}
**Important:** Deleting a segment cannot be undone. Please confirm carefully before proceeding.
{% endhint %}

### Best Practices

* Always **double-check campaign usage** before deleting a segment.
* If you're unsure, consider **editing the segment** instead of deleting it.
* Regularly review segments for relevance to avoid sending untargeted messages.
