API to reset user preference settings to default preference. Maximum 100 distinct_ids per request.

patch/v1/bulk/user/preference/reset/

Request

Query parameters

tenant_idstring

to fetch user preferences for a particular tenant

Request body

distinct_idsstring[] required

distinct_id of users whose preference needs to be reset

reset_channel_preferencesboolean

setting this to true will set all channel preference to default setting. At least one of reset_channel_preferences or reset_categories must be true, otherwise nothing is reset.

reset_categoriesboolean

setting this to true will set all category preferences to default tenant preference. At least one of reset_channel_preferences or reset_categories must be true, otherwise nothing is reset.

Response

202

successboolean

Example response

{
  "success": true
}

Changes

    • info

      the request property default value changed from true to false

    • info

      the request property default value changed from true to false