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