Hudu icon

Hudu

Interact with Hudu REST API

Website → Update

AI-generated

Overview

This node updates an existing website record in the Hudu system. It is useful for scenarios where you need to modify details of a monitored website, such as changing its URL, updating monitoring settings, or adjusting associated metadata. For example, you can update the website's monitoring status, enable or disable DNS, SSL, or WHOIS monitoring, or change the company name linked to the website.

Use Case Examples

  1. Updating the URL of a monitored website to a new address.
  2. Enabling DKIM, DMARC, and SPF tracking for email security monitoring on a website.
  3. Pausing monitoring temporarily by setting the 'Paused' flag to true.

Properties

Name Meaning
Website ID The unique ID or slug of the website to update, required to identify which website record to modify.
Website Update Fields A collection of fields that can be updated for the website, including account ID, asset field ID, asset type, HTTP response code, company name, monitoring flags (disable DNS, SSL, WHOIS), timestamps (discarded at, monitored at, refreshed at), tracking options (DKIM, DMARC, SPF), HTTP headers, icon, keyword, message, monitor type, monitoring status, notes, paused status, sent notifications flag, slug, and the website URL itself.

Output

JSON

  • id - The unique identifier of the updated website.
  • name - The URL of the updated website.
  • monitoring_status - The current monitoring status of the website.
  • paused - Indicates if the website monitoring is paused.
  • company_name - The name of the associated company after update.
  • updated_at - Timestamp when the website was last updated.

Dependencies

  • Hudu REST API
  • API authentication token

Troubleshooting

  • Ensure the Website ID provided is correct and exists in the Hudu system to avoid 'resource not known' errors.
  • Verify that the API authentication token is valid and has sufficient permissions to update website records.
  • Check that the URL provided in the 'Website URL' field is a valid HTTP or HTTPS URL to prevent validation errors.
  • If the node throws an error about unknown resource or operation, confirm that the resource is set to 'websites' and operation to 'update'.
  • Use the 'continue on fail' option to handle errors gracefully during batch updates.

Discussion