Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Organisation → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Organisation resource and the Delete Undefined operation, it deletes an organisation identified by its ID. This is useful in scenarios where you need to programmatically remove organisations from your Halo PSA system, such as cleaning up test data or removing obsolete entries.

Practical examples include:

  • Automating the removal of organisations that no longer exist or are duplicates.
  • Integrating with other workflows that manage organisational data lifecycle.

Properties

Name Meaning
Id The unique numeric identifier of the organisation to delete. This is a required field.

Output

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

If the operation fails 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 via HTTP headers.
  • No additional external dependencies beyond the Halo PSA API and n8n's HTTP request capabilities.

Troubleshooting

  • Common issues:

    • Missing or invalid credentials will cause authentication failures.
    • Providing an invalid or non-existent organisation 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 configured correctly.
    • "Resource Organisation not found" or "Operation Delete Undefined not found for resource Organisation": These indicate misconfiguration of resource or operation parameters.
    • API error messages returned in the JSON error field provide details on why deletion failed (e.g., organisation not found).
  • Resolution tips:

    • Verify that the organisation ID exists in Halo PSA before attempting deletion.
    • Check that all credential fields (base URL, tenant, client ID, client secret) are correctly set.
    • Enable "Continue On Fail" to handle errors gracefully within workflows.

Links and References

Discussion