Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Uname Event Subscription → Delete Undefined

AI-generated

Overview

This node integrates with the Halo PSA API to perform various operations on different resources. Specifically, for the Uname Event Subscription resource and the Delete Undefined operation, it deletes an event subscription identified by a numeric ID.

Common scenarios where this node is useful include automating the management of event subscriptions in Halo PSA, such as cleaning up obsolete or undefined subscriptions programmatically without manual intervention.

For example, you might use this node to delete a subscription that was created incorrectly or is no longer needed, by providing its unique ID.

Properties

Name Meaning
Id The numeric identifier of the Uname Event Subscription 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 event subscription. The output JSON typically contains confirmation of deletion or error details if the operation failed.

No binary data output is produced by this operation.

Example output JSON structure:

{
  "success": true,
  "message": "Subscription deleted successfully"
}

or in case of failure:

{
  "error": "Subscription not found"
}

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 required beyond the configured API credentials.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent subscription ID will result in an error from the API.
    • Missing or incorrect API credentials will cause authentication failures.
    • 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 Uname Event Subscription not found" or "Operation Delete Undefined not found for resource Uname Event Subscription" — These indicate misconfiguration of resource or operation parameters.
    • API errors returned in the JSON output under the error field should be reviewed and addressed according to the API documentation.
  • Resolution tips:

    • Verify the subscription ID exists before attempting deletion.
    • Confirm API credentials are correctly set up in n8n.
    • Enable "Continue On Fail" option if you want the workflow to proceed despite individual item errors.

Links and References

Discussion