Archive or Restore Asset
hudu_archive_assetArchive or unarchive an asset to hide it from default views without deleting data, and restore it later by toggling the archived flag.
Instructions
Archive or unarchive an asset. Archiving hides it from normal views and from the default listings without deleting anything, and is reversible by calling this tool again with archived: false. Archived assets are still readable through hudu_list_assets with archived: true.
Assets are read globally but written per company. This tool needs the owning company id as well as the asset id, because Hudu exposes no /assets/{id} route. If you found the asset with hudu_list_assets, take company_id straight from that record; if all you have is an asset id, call hudu_list_assets with id set to it and read company_id off the result.
This is the reversible alternative to hudu_delete_asset and should be preferred whenever the user wants a decommissioned machine "removed" without saying they want its documentation gone permanently.
Operation class: Update. Impact: Hides or restores this asset. Reversible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric id of the asset, as returned by hudu_list_assets or hudu_list_company_assets. | |
| archived | Yes | true archives the asset; false restores it from the archive. | |
| company_id | Yes | Numeric id of the company that owns this asset. Not optional and not guessable — an asset id belonging to company A returns 404 under company B, indistinguishable from a deleted asset. |