Didomi icon

Didomi

Use the Didomi API

Actions75

Widget → Update Custom Theme

AI-generated

Overview

This node operation updates a custom theme in the Didomi widget system. It is useful for users who want to customize the appearance and styling of consent and preference widgets by modifying existing custom themes. For example, a user can update colors, fonts, or layout settings of a custom theme to match their website's branding.

Use Case Examples

  1. Updating the color scheme of a custom theme to align with a new brand palette.
  2. Modifying font styles in a custom theme to improve readability on mobile devices.

Properties

Name Meaning
Custom Theme ID The unique identifier of the custom theme to update.
Query Parameters Optional parameters to refine or control the update request, such as pagination or filtering options.
Request Body The JSON body containing the update data for the custom theme.

Output

JSON

  • Status Code - HTTP status code or message indicating the result of the update operation
  • * - The JSON response from the Didomi API representing the updated custom theme or related data

Dependencies

  • Didomi API key and secret credentials for authentication

Troubleshooting

  • Missing or invalid Custom Theme ID will cause an error indicating the ID is required.
  • Failure to retrieve an access token from Didomi API will result in an authentication error.
  • Invalid JSON in the request body will cause the API call to fail.
  • Network or API errors will throw a NodeApiError with details from the Didomi API response.

Links

Discussion