Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Users → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Users resource with the Delete Undefined operation, it deletes a user identified by a given ID from the Halo PSA system.

Common scenarios where this node is beneficial include automating user management tasks such as removing obsolete or undefined users from the system, cleaning up user records, or integrating user deletion into broader workflows like offboarding processes.

For example, you might use this node in a workflow that triggers when an employee leaves a company, automatically deleting their user record from Halo PSA based on their user ID.

Properties

Name Meaning
Id The unique numeric identifier of the user to delete. This property is required.

Output

The node outputs JSON data representing the response from the Halo PSA API after attempting to delete the specified user. The structure typically includes 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 to authenticate with the Halo PSA API, including:

    • Base URL of the Halo PSA instance
    • Tenant identifier
    • Client ID
    • Client Secret
  • These credentials must be configured in n8n prior to using the node.

  • The node uses HTTP requests to communicate with the Halo PSA REST API.

Troubleshooting

  • Common Issues:

    • Missing or invalid credentials will cause the node to throw an error indicating no credentials were returned.
    • Providing an invalid or non-existent user ID may result in an API error response.
    • Network connectivity issues can prevent successful API calls.
  • Error Messages:

    • "No credentials returned!": Ensure that the API authentication credentials are correctly set up in n8n.
    • "Resource Users not found" or "Operation Delete Undefined not found for resource Users": Indicates a misconfiguration or typo in resource or operation names.
    • API errors returned from Halo PSA (e.g., user not found) will be included in the output JSON under an error field if "Continue On Fail" is enabled.
  • To resolve errors, verify credentials, confirm the user ID exists, and check network connectivity.

Links and References

Discussion