# dataSaleOptOut - admin-graphql - MUTATION Version: 2024-10 ## Description Opt out a customer from data sale. ### Access Scopes `write_privacy_settings` access scope. ## Arguments * [email](/docs/api/admin-graphql/2024-10/scalars/String): String! - The email address of the customer to opt out of data sale. ## Returns * [customerId](/docs/api/admin-graphql/2024-10/scalars/ID): ID The ID of the customer whose email address has been opted out of data sale. * [userErrors](/docs/api/admin-graphql/2024-10/objects/DataSaleOptOutUserError): DataSaleOptOutUserError! The list of errors that occurred from executing the mutation. ## Examples