Remove specific data for a user using id

Prev Next
Get
/DeleteUserDataById/{id}

Allows you remove specific types of user data for a user in the system.

Security
API Key
Header parameter nameapi_key
Path parameters
id
integer (int32) Required

The user's ID.

Query parameters
dataTypeId
integer (int32) Required

The ID of the data type to delete.

  • Account = 0
  • MicrosoftCommunications = 1
  • PaymentInstrument = 2
  • PreciseUserLocation = 3
  • ProductAndServicePerformance = 4
  • ProductAndServiceUsage = 5
  • ProfessionalAndPersonalProfile = 6
  • PublicPersonal = 7
  • Recruitment = 8
  • SearchRequestsAndQuery = 9
  • SoftwareSetupAndInventory = 10
  • Support = 11
  • SupportContent = 12
  • SupportInteraction = 13
  • WorkContracts = 14
  • WorkplaceInteractions = 15
  • WorkProfile = 16
  • LicensingAndPurchase = 17
  • LearningAndDevelopment = 18
  • InterestsAndFavorites = 19
  • InkingTypingAndSpeechUtterance = 20
  • Any = 21
  • BrowsingHistory = 22
  • CloudServiceProvider = 23
  • CommuteAndTravel = 24
  • CompensationAndBenefits = 25
  • ContentConsumption = 26
  • Credentials = 27
  • CustomerContact = 28
  • WorkRecognition = 29
  • CustomerContactList = 30
  • DemographicInformation = 31
  • DeviceConnectivityAndConfiguration = 32
  • EnvironmentalSensor = 33
  • EUII = 34
  • FeedbackAndRatings = 35
  • FinancialAccountingAndRecords = 36
  • FinancialTransactions = 37
  • FitnessAndActivity = 38
  • CustomerContent = 39
  • WorkTime = 40
  • Social = 41
Responses
200

OK Response

object
Status
integer (int32)

Indicates the status of the API request.

0 = Success
10 = Error
20 = Not found
30 = Invalid integration key

Example10
Error
string | null

Error details. This will only have a value if an error was encountered. The status property will also be set to Error (10).

RowsAffected
integer (int32)

The number of database rows affected while removing all data.

Example5