h2oGPTe icon

h2oGPTe

h2oGPTe is an AI-powered search assistant for your internal teams to answer questions gleaned from large volumes of documents, websites and workplace content.

Actions198

Overview

This node operation deletes user-specific configuration items identified by their keys. It is useful in scenarios where an administrator or system needs to remove certain configuration settings for a particular user, such as resetting preferences, clearing outdated settings, or revoking feature flags.

For example, if a user has several custom configurations stored and some need to be removed due to changes in permissions or application updates, this operation allows targeted deletion of those configuration keys for that user.

Properties

Name Meaning
User ID The unique identifier of the user whose configuration items will be deleted.
Key Names Comma-separated keys of the configuration items that will be deleted for the specified user.

Output

The output JSON contains the full HTTP response from the API call that deletes the specified user configuration items. This typically includes status information indicating success or failure of the deletion request.

No binary data is output by this operation.

Dependencies

  • Requires an API key credential for authentication with the external service.
  • The node sends an HTTP DELETE request to an endpoint structured as /users/{user_id}/configurations/{key_names}.
  • Proper API base URL configuration and credentials must be set up in n8n for successful requests.

Troubleshooting

  • Invalid User ID: If the provided user ID does not exist, the API may return a 404 error. Verify the user ID is correct.
  • Invalid Key Names: If any of the specified keys do not exist for the user, the API might return an error or ignore them. Ensure keys are valid and correctly formatted.
  • Authentication Errors: Missing or invalid API credentials will cause authentication failures. Confirm that the API key credential is properly configured.
  • Permission Issues: Deleting user configurations may require admin-level permissions. Lack of sufficient permissions can result in authorization errors.
  • Malformed Request: Ensure that key names are properly encoded and separated if multiple keys are provided.

Links and References

  • Refer to the external API documentation for user configuration management and deletion endpoints.
  • Consult n8n documentation on setting up API key credentials and HTTP request nodes for further customization.

Discussion