Ivanti icon

Ivanti

Interact with Ivanti API

Overview

This node allows you to interact with the Ivanti API, specifically to delete an Event record. The "Delete" operation for the "Event" resource is used to remove a specific event from the Ivanti system by providing its unique Record ID. This can be useful in scenarios where events need to be programmatically cleaned up, removed due to errors, or managed as part of automated workflows.

Practical Example:
You might use this node in an automation that cleans up outdated or erroneous events in your Ivanti environment, or as part of a workflow that manages the lifecycle of events based on certain business rules.

Properties

Name Meaning
Record ID RecId value of the event in Ivanti. This is required and uniquely identifies the event.

Output

The output will be a JSON object with the following structure:

{
  "Result": "Success"
}
  • Result: Indicates the outcome of the delete operation. If successful, it returns "Success".

Dependencies

  • External Service: Requires access to the Ivanti API.
  • Credentials: You must configure the IvantiApi credentials in n8n, including the base URL (baseUrl) for your Ivanti instance.
  • n8n Configuration: No additional configuration is needed beyond setting up the credentials.

Troubleshooting

  • Missing or Invalid Record ID: If the "Record ID" is missing or incorrect, the node may fail to find the event and return an error from the Ivanti API.
  • Authentication Errors: If the IvantiApi credentials are not set up correctly, you may receive authentication or authorization errors.
  • Network Issues: Connectivity problems between n8n and the Ivanti API endpoint could cause timeouts or connection errors.
  • Common Error Messages:
    • 404 Not Found: The specified Record ID does not exist.
    • 401 Unauthorized: Credentials are missing or invalid.
    • 500 Internal Server Error: There may be an issue with the Ivanti backend.

Resolution Steps:

  • Double-check the Record ID value.
  • Ensure your IvantiApi credentials are correct and have sufficient permissions.
  • Verify network connectivity to the Ivanti API endpoint.

Links and References

Discussion