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 "Removes Access to a Prompt Template for a Group" is designed to revoke or remove the access permissions that a specific group has to a particular prompt template. This is useful in scenarios where you want to restrict or update access controls dynamically, ensuring that certain groups no longer have permission to use or view a given prompt template.

Practical examples include:

  • An administrator wants to revoke a group's access to a prompt template after a project ends.
  • Temporarily disabling access for a group during maintenance or updates of a prompt template.
  • Managing user group permissions efficiently by removing obsolete or unnecessary access rights.

Properties

Name Meaning
Prompt Template ID The unique identifier of the prompt template from which the group’s access will be removed.
Group ID The unique identifier of the group that will lose access to the specified prompt template.

Output

The output of this operation typically includes the HTTP response from the API indicating the success or failure of the removal request. The json output field will contain the full response object returned by the API call, which may include status codes and messages confirming the removal of access.

There is no binary data output associated with this operation.

Dependencies

  • Requires an API key credential configured in n8n to authenticate requests against the external service's API.
  • The base URL for API requests is derived from the credentials and must be correctly set.
  • The node sends a DELETE HTTP request to the endpoint corresponding to the prompt template and group IDs.

Troubleshooting

  • Invalid or missing Prompt Template ID or Group ID: Ensure both IDs are provided and valid; otherwise, the API will return an error.
  • Insufficient permissions: The API key used must have sufficient privileges to modify prompt template permissions.
  • Network or connectivity issues: Verify network access to the API endpoint.
  • API errors: Check the response message for details if the removal fails (e.g., prompt template or group not found).

Links and References

  • Refer to the external API documentation for prompt template permission management for detailed information on endpoints and expected responses.
  • n8n documentation on setting up API credentials and using HTTP request nodes for custom integrations.

Discussion