Hudu icon

Hudu

Interact with Hudu REST API

Asset → Archive

AI-generated

Overview

This node interacts with the Hudu REST API to perform operations on assets, specifically the 'Archive' operation for the 'Asset' resource. It allows users to archive an asset by specifying its unique ID or slug. This is useful in scenarios where assets need to be marked as archived for organizational or lifecycle management purposes, such as deprecating old equipment or documents without deleting them permanently.

Use Case Examples

  1. Archiving an asset by providing its Asset ID to mark it as archived in the Hudu system.
  2. Automating asset lifecycle management by archiving assets that are no longer in active use.

Properties

Name Meaning
Asset ID The unique ID or slug of the asset to operate on, required for identifying which asset to archive.

Output

JSON

  • id - The unique identifier of the archived asset.
  • name - The name of the archived asset.
  • archived - Boolean indicating if the asset is archived (true after this operation).
  • updatedAt - Timestamp of when the asset was archived.

Dependencies

  • Hudu REST API
  • An API key credential for authentication

Troubleshooting

  • Ensure the Asset ID provided is correct and exists in the Hudu system to avoid 'asset not found' errors.
  • Check API authentication credentials if the node fails to connect to the Hudu API.
  • If the asset is already archived, the operation might not change the state but should not error out.

Links

Discussion