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 allows you to set a configuration item for a specific role within a system. It is useful in scenarios where role-based configurations need to be managed dynamically, such as updating permissions, feature toggles, or other settings tied to user roles. For example, an administrator might use this node to update the timeout duration or enable/disable certain features for a particular role.

Properties

Name Meaning
Role ID The unique identifier of the role for which the configuration item will be set.
Key Name The key of the configuration item that will be set.
String Value The string value to assign to the configuration item.
Value Type The type of the value being set (e.g., string, number, boolean).

Output

The output JSON contains the full response from the API after setting the configuration item for the given role. This typically includes confirmation of the updated configuration and any relevant metadata returned by the server.

If the node supports binary data output, it would represent related files or attachments associated with the configuration, but this operation primarily deals with JSON data.

Dependencies

  • Requires an API key credential for authentication to the target system.
  • The base URL for API requests is configured via credentials.
  • The node sends HTTP PUT requests to the endpoint /roles/{role_id}/configurations/{key_name} with the configuration data in the request body.

Troubleshooting

  • Invalid Role ID: If the provided Role ID does not exist, the API may return a 404 error. Verify the Role ID is correct.
  • Missing Required Fields: Ensure all required properties (role_id, key_name, string_value, value_type) are provided; otherwise, the request will fail.
  • Permission Denied: The API key used must have sufficient permissions to modify role configurations.
  • Incorrect Value Type: The value_type should match the expected type for the configuration key; mismatches may cause errors or unexpected behavior.

Links and References

  • Refer to your system's API documentation for details on role configuration management endpoints.
  • Consult your API key credential setup guide to ensure proper authentication configuration.

Discussion