Didomi icon

Didomi

Use the Didomi API

Actions75

Widget → Update Current Draft Configuration For Notice

AI-generated

Overview

This node operation updates the current draft configuration for a notice in the Didomi widget system. It is useful for managing and customizing consent notice configurations before they are published, allowing users to modify draft settings programmatically via the Didomi API.

Use Case Examples

  1. Updating the draft configuration of a consent notice to change text or behavior before publishing.
  2. Automating the customization of consent notices for different organizational units or user segments.

Properties

Name Meaning
Current Draft Configuration ID The unique identifier of the current draft configuration for the notice to be updated.
Query Parameters Optional query parameters to refine or control the update request, such as filtering or pagination options.
Request Body The JSON body containing the update data for the current draft configuration.

Output

JSON

  • Status Code - HTTP status code when no content is returned (e.g., 204 No Content).
  • responseData - The JSON response from the Didomi API representing the updated draft configuration details.

Dependencies

  • Didomi API with API Key and Secret for authentication

Troubleshooting

  • Ensure the 'Current Draft Configuration ID' is provided; otherwise, the node throws an error indicating it is required.
  • Verify that the API Key and API Secret credentials are correctly set up, as missing credentials cause authentication failure.
  • Check the request body JSON format for correctness to avoid request errors.
  • If the API returns an error, the node throws a detailed error message including the API response for easier debugging.

Links

Discussion