# Edit and Delete a Segment You can easily edit and delete your batch and real-time segments as needed. ## Editing a Segment 1. Open TD Console. 2. Navigate to Audience Studio and select the batch or real-time segment for which you want to edit rules. ![](/assets/image2021-2-18_14-53-41.70a369c85667d8ece16865811bae15cdc0dacf49540ed6d8217c3a15afeaf052.cf3845cb.png) 1. Select Edit segment rules. ![](/assets/image2021-2-18_14-54-53.49d98731806c0579a89f29a91042703b8b38adac29da60c05a36ac7f3cf7cfe3.cf3845cb.png) 1. You can add, edit, or delete any rule or rule set the same way when you [created the batch segment](/products/customer-data-platform/audience-studio/segment/create-batch-segment-rules) or [created the real-time segment](/products/customer-data-platform/real-time/create-real-time-segment-rules). ## Deleting a Segment 1. Open TD Console. 2. Navigate to Audience Studio and select the batch or real-time segment you want to delete. ![](/assets/image2021-2-18_14-53-41.70a369c85667d8ece16865811bae15cdc0dacf49540ed6d8217c3a15afeaf052.cf3845cb.png) 1. Right-click on the segment or select the Edit segment rules menu and select Delete from the dropdown menu. ![](/assets/image2021-4-1_12-22-18.fd290458648dfe17e13f7ce2fdf63bb02cf10979278fbdd35318a10b8bd93f7b.cf3845cb.png) 1. Confirm you want to delete the segment by selecting Delete in the Delete Batch Segment or Delete Real-time Segment dialog. ![](/assets/image2021-4-1_12-25-24.9442f7e7567c69e9500c76893e6856d231efbccf98c6eb3b80e8bdb411faa9a6.cf3845cb.png) 1. The segment is now deleted. You cannot delete a segment that is referenced in any other segment or funnel stage.