Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Generic → Delete Undefined

AI-generated

Overview

This node interacts with a generic API endpoint to perform a "Delete Undefined" operation on a specified resource. It is designed to delete an entity identified by its unique ID. This kind of node is useful in automation workflows where you need to programmatically remove records or objects from an external system based on their IDs.

Practical examples:

  • Automatically deleting outdated or invalid entries from a database.
  • Removing user accounts or tickets that meet certain criteria.
  • Cleaning up resources in an external service as part of a maintenance workflow.

Properties

Name Meaning
Id The unique identifier (number) of the item to be deleted. This property is required.

Output

The node outputs JSON data representing the response from the API after attempting the deletion. The structure typically contains confirmation of the deletion or details about the deleted entity. If an error occurs, the output JSON will contain an error field with the error message.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authentication with the external service.
  • Needs configuration of base URL and authentication parameters (tenant, client ID, client secret) for the API.
  • Uses HTTP methods to communicate with the API endpoint.

Troubleshooting

  • Common issues:

    • Missing or invalid credentials will cause the node to throw an error indicating no credentials were returned.
    • Providing an incorrect or non-existent ID may result in an API error or failure to delete.
    • Network or API endpoint errors can cause request failures.
  • Error messages:

    • "No credentials returned!": Ensure that valid API authentication credentials are configured in n8n.
    • "Resource Generic not found" or "Operation Delete Undefined not found for resource Generic": Verify that the resource and operation names are correctly set.
    • API error messages returned in the error field of the output JSON usually indicate issues such as invalid ID or permission problems.

To resolve these errors:

  • Double-check the input ID value.
  • Confirm API credentials and permissions.
  • Review API documentation for correct usage of the delete operation.

Links and References

Discussion