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