Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node interacts with the Matomo API to perform various operations related to user management, including deleting a user. It is designed to facilitate integration with Matomo's extensive analytics and user management capabilities, allowing users to manage Matomo data programmatically within workflows. For the 'Delete User' operation under the 'Users Manager' resource, the node sends a request to delete a specific user from Matomo based on provided query parameters such as user login or email.

Use Case Examples

  1. Deleting a user from Matomo by specifying the user's login or email to remove their access and data from the system.
  2. Managing user access by programmatically deleting users who no longer require access to Matomo analytics.

Properties

Name Meaning
queryParameters Collection of query parameters to specify the user to delete and other optional filters or settings.

Output

JSON

  • Status Code - HTTP status code or message indicating the result of the delete operation
  • json - Parsed JSON response from the Matomo API if available
  • text - Raw text response from the Matomo API if JSON parsing fails

Dependencies

  • Matomo API with an authentication token and domain URL

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured and valid.
  • Verify that the user login or email provided in the query parameters exists in Matomo before attempting deletion.
  • Check for network connectivity issues or API endpoint availability if requests fail.
  • Handle HTTP status codes and error messages returned by the Matomo API to diagnose issues such as permission errors or invalid parameters.

Discussion