Didomi icon

Didomi

Use the Didomi API

Actions75

Data Manager → Update Preference

AI-generated

Overview

This node operation updates a user preference in the Didomi Data Manager via the Didomi API. It is useful for scenarios where you need to modify existing user preferences related to data management, such as updating consent or privacy settings. For example, it can be used to change a preference's attributes or status based on new user input or compliance requirements.

Use Case Examples

  1. Updating a user's data preference to reflect new consent choices.
  2. Modifying preference details to comply with updated privacy regulations.

Properties

Name Meaning
Preference ID The unique identifier of the preference to update.
Query Parameters Optional parameters to filter or modify the request behavior, such as pagination or filtering by organization user ID.
Request Body The JSON body containing the updated preference data to send in the PATCH request.

Output

JSON

  • Status Code - HTTP status code or message when no content is returned
  • * - The JSON response from the Didomi API representing the updated preference details

Dependencies

  • Didomi API with API Key and API Secret credentials

Troubleshooting

  • Missing or invalid API Key or API Secret will cause authentication failure. Ensure credentials are correctly set.
  • Preference ID is required for updating a preference; missing this will throw an error.
  • Malformed JSON in the request body can cause request failure; validate JSON format before sending.
  • API errors from Didomi will be returned with error messages; check the error description for troubleshooting.

Discussion