# Modifying Segments

1. In the Segment Details Page, click 'Edit Segment'. ![Modify Segment Edit Button](https://2689420226-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFMRO0BquZrbmgj6RBGJL%2Fuploads%2Few8Dn5APDkz33P2xRQHG%2F14_modifying_segment_edit_button.png?alt=media\&token=64ceda9a-eaf2-43dd-8068-6d2fe474ccb1)
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](https://2689420226-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFMRO0BquZrbmgj6RBGJL%2Fuploads%2FjHl6zsHT2LgbVlysN2cv%2F14_modifying_segment_edit_page.png?alt=media\&token=7c70025d-39dd-4c33-8c69-aaece49ecf6c)

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