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 Component
AI-generatedOverview
This node operation updates a specific component within a widget configuration in the Didomi platform. It is useful for scenarios where you need to modify the settings or properties of a widget component, such as changing layout, behavior, or content dynamically via API. For example, updating a consent banner component to reflect new privacy policies or UI changes.
Use Case Examples
- Updating a widget component's configuration by specifying the component ID and providing the updated JSON body with new settings.
- Modifying the layout component of a widget to change its appearance or functionality.
Properties
| Name | Meaning |
|---|---|
| Component ID | The unique identifier of the widget component to update. |
| Query Parameters | Optional parameters to customize the API request, such as filtering or pagination options. |
| Request Body | The JSON body containing the updated data for the widget component. |
Output
JSON
Status Code- HTTP status code when no content is returned (e.g., 204 No Content).responseData- The JSON response data from the Didomi API after updating the widget component.
Dependencies
- Didomi API with API Key and API Secret credentials
Troubleshooting
- Ensure the Component ID is provided; otherwise, the node will throw an error indicating the missing Component ID.
- Verify that the API Key and API Secret credentials are correctly set and valid to obtain an access token.
- Check the request body JSON format for correctness to avoid request failures.
- If the API returns an error, review the error message for details and ensure the endpoint URL and HTTP method are correct.