# Modifying Segments

1. In the Segment Details Page, click 'Edit Segment'. ![Modify Segment Edit Button](/files/UFeXUDfF0fy1IMtdDTGJ)
2. In the Edit Segment Page, you can edit the segment's configuration. All fields except **Name** are allowed to be modified. Similar to creating a new Segment template, you may choose to select an existing one and pre-fill some fields first rather than starting from scratch. ![Modify Segment Edit Page](/files/jo9rHj85J0EYTFhTi6Sq)

## Segment History

When a segment is edited, the existing details in the segment prior to the edit would be saved as a historical version and can be viewed from the History tab in the Segment Details view.

## Deleting Segments

Segments in XP are templates that can be deleted, deleting them prevents usage in new Experiments, but do not affect existing Experiments which were created with it.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.caraml.dev/user-guides/01_getting_started-1/14_modifying_segments.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
