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 an expiry date from a specified collection in the system. It is useful when you want to make a collection persistent by clearing any previously set expiration, thereby preventing it from being automatically deleted or archived after a certain date.

Common scenarios:

  • You have collections with expiry dates for temporary data and now want to keep some collections indefinitely.
  • You want to manage collection lifecycle dynamically by removing expiry dates based on business logic or user input.

Practical example:

  • A user sets an expiry date on a project-related document collection but later decides to retain the collection permanently. This operation can be used to remove that expiry date without deleting the collection itself.

Properties

Name Meaning
Collection ID The unique identifier of the collection from which the expiry date will be removed.

Output

The output JSON contains the response from the API after attempting to delete the expiry date from the collection. Typically, this would include status information indicating success or failure of the operation.

No binary data is involved in this operation.

Dependencies

  • Requires an API key credential for authentication to the external service managing collections.
  • The base URL for API requests is configured via credentials.
  • The node sends an HTTP DELETE request to the endpoint /collections/{collection_id}/expiry_date.

Troubleshooting

  • Invalid Collection ID: If the provided collection ID does not exist, the API may return an error indicating the collection was not found. Verify the collection ID is correct.
  • Authentication Errors: Ensure the API key credential is valid and has permissions to modify collections.
  • Network Issues: Connectivity problems may cause request failures; check network access to the API endpoint.
  • Permission Denied: The authenticated user might lack permission to modify the collection's expiry date. Confirm appropriate access rights.

Links and References

  • Refer to the API documentation of the collection management service for details on the DELETE /collections/{collection_id}/expiry_date endpoint.
  • Consult your platform's credential setup guide to configure the required API key authentication.

Discussion