Hudu icon

Hudu

Interact with Hudu REST API

Company → Unarchive

AI-generated

Overview

This node interacts with the Hudu REST API to perform operations on various resources, including companies. Specifically, for the 'Company' resource with the 'Unarchive' operation, it unarchives a previously archived company by its unique ID or slug. This is useful in scenarios where a company record was archived and needs to be restored for active use again.

Use Case Examples

  1. Unarchive a company by providing its unique ID to restore it from an archived state.
  2. Use in workflows to manage company lifecycle by toggling archive status.

Properties

Name Meaning
Company ID The unique ID or slug of the company to unarchive.

Output

JSON

  • id - The unique identifier of the unarchived company.
  • name - The name of the unarchived company.
  • archived - The archived status of the company, which should be false after unarchiving.

Dependencies

  • Requires an API key credential for authenticating with the Hudu REST API.

Troubleshooting

  • Ensure the Company ID is correct and exists; otherwise, the API may return an error indicating the company was not found.
  • Check API authentication credentials if requests fail due to authorization errors.
  • If the company is not archived, unarchive operation might have no effect or return an error depending on API behavior.

Links

Discussion