# segmentDelete - admin - MUTATION Version: unstable ## Description Deletes a segment. ### Access Scopes `write_customers` access scope. Also: The user must not have restricted access. ## Arguments * [id](/docs/api/admin/unstable/scalars/ID): ID! - Specifies the segment to delete. ## Returns * [deletedSegmentId](/docs/api/admin/unstable/scalars/ID): ID ID of the deleted segment. * [userErrors](/docs/api/admin/unstable/objects/UserError): UserError! The list of errors that occurred from executing the mutation. ## Examples