Actions75
- Compliance Report Actions
- Consent And Preference Actions
- Data Manager Actions
- Add Preference Into Your Configuration Tree
- Add Purpose Into Your Configuration Tree
- Create Preference
- Create Purpose
- Delete Preference
- Delete Purpose
- Delete Selected Preference
- Delete Selected Purpose
- Get Available Regulations and Related Information
- Get Configuration Tree
- Get Preference
- Get Purpose
- Get Vendor
- List Preferences
- List Purposes
- List User Rights
- List Vendors
- Update Preference
- Update Purpose
- Privacy Request Actions
- Widget Actions
- Create Authentication Provider
- Create Consent Notice
- Create Widget
- Delete Widget
- Get Archived Widget
- Get Current Draft Configuration For Notice
- Get Custom Theme
- Get Deployment
- Get Entity
- Get Widget
- List Archived Widget
- List Custom Themes
- List Deployments
- List Entities
- List Widgets
- Publish Current Draft Configuration For Notice
- Publish Widget
- Set Default Authentication Provider
- Update Component
- Update Current Draft Configuration For Notice
- Update Custom Theme
- Update Entity
- Update Multiple Components
- Update Multiple Entities
- Update Widget
Widget → Update Custom Theme
AI-generatedOverview
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
- Updating the color scheme of a custom theme to align with a new brand palette.
- 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
- Didomi API - Update Custom Theme - Official API documentation for updating a custom theme in Didomi widgets.