Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to user management and other Matomo resources. Specifically, for the 'Users Manager' resource and 'Update User' operation, it allows updating details of a specific user in Matomo by sending the appropriate API request with user parameters. This node is useful for automating user management tasks such as updating user information, managing access levels, and other user-related configurations within Matomo analytics platform.

Use Case Examples

  1. Updating a user's email or password in Matomo.
  2. Changing a user's access level to a specific website.
  3. Modifying user preferences or capabilities programmatically.

Properties

Name Meaning
Query Parameters Key-value pairs of parameters to include in the API request query string for filtering or specifying details.
Request Body JSON object containing the data to update the user with, such as new email, password, or other user attributes.

Output

JSON

  • json - The JSON response from the Matomo API representing the result of the update user operation or other requested data.

Dependencies

  • Matomo API credentials (domain URL and authentication token) are required to authenticate requests.

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials; missing these will cause errors.
  • Verify that the query parameters and request body are correctly formatted and include all required fields for the update user operation.
  • Check the API method and resource names are correctly set to 'usersManager' and 'updateUser' respectively to avoid unknown resource or operation errors.
  • If the API returns an error, inspect the error message and stack trace provided by the node for debugging.

Discussion