Deletes a preference or a preference category that has a given ID

This method deletes the preference or preference category with the given ID.

If the preference is in use (for example in a segment), an error will be returned.

If you delete a category, any preferences in that category are also deleted.

SOAP action:


Input parameters

PreferenceID - required; integer


using (var client = new ApiServiceClient())
  client.ClientCredentials.UserName.UserName = "username";
  client.ClientCredentials.UserName.Password = "password";

  var preferenceId = 1;