Didomi icon

Didomi

Use the Didomi API

Actions75

Data Manager → Delete Selected Purpose

AI-generated

Overview

This node operation deletes a selected purpose from a specified configuration tree in the Didomi API. It is useful for managing and maintaining data privacy configurations by removing purposes that are no longer needed or relevant. For example, if a purpose related to data processing is deprecated, this operation can remove it from the configuration tree to ensure compliance with privacy regulations.

Use Case Examples

  1. Deleting a selected purpose from a configuration tree to update privacy settings.
  2. Removing an obsolete purpose to maintain accurate data management policies.

Properties

Name Meaning
Configuration Tree ID The identifier of the configuration tree from which the selected purpose will be deleted.
Selected Purpose ID The identifier of the selected purpose to be deleted from the configuration tree.
Query Parameters Optional parameters to customize the API request, such as filtering or pagination options.

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 Secret for authentication

Troubleshooting

  • Missing Configuration Tree ID or Selected Purpose ID will cause the node to throw an error indicating the required parameter is missing.
  • If the API key or secret is missing or invalid, the node will fail to retrieve an access token and throw an error.
  • API errors from Didomi will be caught and rethrown as NodeApiError with the original message and stack trace for debugging.

Discussion