# 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="https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2FIrrtYXy5Aj5mNkgzVoH3%2FScreenshot%202025-08-01%20at%204.32.20%E2%80%AFPM.png?alt=media&#x26;token=cf8ed317-edf3-4e8b-867e-480fc05c38fe" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2FAEHtQZdPbQW166we2AE8%2FScreenshot%202025-08-01%20at%204.33.30%E2%80%AFPM.png?alt=media&#x26;token=6734fbe8-6c7d-48e6-aa33-82ba353c9a56" 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="https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2F3ZE3l27KuOwKGSxQDR98%2FScreenshot%202025-08-01%20at%204.40.54%E2%80%AFPM.png?alt=media&#x26;token=8b177884-9bee-4f4a-a816-01f511e96f52" 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.
