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 → Delete Widget
AI-generatedOverview
This node operation deletes a specific widget in the Didomi platform using the widget's unique ID. It is useful for scenarios where you need to programmatically remove widgets from your Didomi account, such as cleaning up unused widgets or managing widget lifecycle automatically.
Use Case Examples
- Deleting a widget by providing its Widget ID to remove it from the Didomi system.
- Automating widget management by integrating widget deletion into workflows.
Properties
| Name | Meaning |
|---|---|
| Widget ID | The unique identifier of the widget to be deleted. This is required to specify which widget to remove. |
| Query Parameters | Optional parameters to refine or modify the delete request, such as filtering or pagination options. These parameters are passed as key-value pairs. |
Output
JSON
Status Code- HTTP status code indicating the result of the delete operation, e.g., '204 No Content' for successful deletion.
Dependencies
- Didomi API with API Key and API Secret credentials for authentication.
Troubleshooting
- Missing or empty Widget ID will cause an error: 'Widget ID is required'. Ensure the Widget ID is provided before executing the node.
- Failure to retrieve an access token from Didomi API will result in an error: 'Failed to retrieve access token'. Check API Key and Secret credentials.
- API call errors will throw a NodeApiError with the message 'Error calling Didomi API' and the underlying error details. Verify network connectivity and API endpoint correctness.
Links
- Didomi API - Delete Widget - Official Didomi API documentation for deleting a widget.