Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Tree → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Tree resource with the Delete Undefined operation, it deletes a tree entity identified by its ID. This is useful in scenarios where you need to clean up or remove undefined or obsolete tree entries from your system.

Practical examples include:

  • Automating cleanup of hierarchical data structures by removing undefined nodes.
  • Managing organizational charts or category trees by deleting invalid or placeholder entries.

Properties

Name Meaning
Id The numeric identifier of the tree entity to delete. This property is required and specifies which tree node will be removed.

Output

The node outputs JSON data representing the response from the Halo PSA API after attempting to delete the specified tree entity. The output structure typically contains confirmation of deletion or error details if the operation failed.

If the operation encounters an error and "Continue On Fail" is enabled, the output JSON will contain an error field with the error message.

No binary data output is produced by this operation.

Dependencies

  • Requires valid credentials for the Halo PSA API, including base URL, tenant identifier, client ID, and client secret.
  • The node uses these credentials to authenticate API requests.
  • No additional external dependencies are needed beyond the configured API credentials.

Troubleshooting

  • Common issues:

    • Missing or invalid credentials will cause authentication failures.
    • Providing an invalid or non-existent tree ID will result in an error from the API.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • "No credentials returned!": Indicates that the node could not retrieve the necessary API credentials. Ensure credentials are properly configured.
    • "Resource Tree not found" or "Operation Delete Undefined not found for resource Tree": Suggests misconfiguration of resource or operation parameters.
    • API error messages returned in the error field of the output JSON when "Continue On Fail" is enabled. Review the message for specific causes such as permission issues or invalid IDs.

To resolve errors, verify credentials, confirm the tree ID exists, and check network connectivity.

Links and References

Discussion