invantive documentation
Invantive Support ForumsLog In / Sign Up

Users: Matomo Matomo Users Manager Users

insert update delete REST

  • Catalog: Matomo
  • Schema: UsersManager
  • Primary Keys: login
  • Label: Matomo Users Manager Users

Can retrieve data and change data using insert, update and delete.

Summary

Every Matomo account able to sign in or hold API/UI permissions on this instance.

API Source

  • Endpoint: /index.php?module=API&method=UsersManager.getUsers&format=json

Performance Characteristics

Characteristic Value
Write rows per minute 3,620

The result can be cached on the client.

Table Columns

The columns of the table Users are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
date_registered varchar2 itgen_mat_date_registered filters on the platform, writable Date and time the account was created, as returned by Matomo. Matomo does not document which time zone this is expressed in.
email varchar2 itgen_mat_email filters on the platform, writable Account e-mail address. Required on insert; changing it on update triggers the passwordConfirmation requirement documented below.
initial_id_site int32 itgen_mat_initial_id_site filters on the platform, writable Site to grant initial 'view' access to. Required on insert for a non-superuser caller; addUser has no corresponding read-back and updateUser takes no such argument, so this column is insert-only in practice.
invite_accept_at varchar2 itgen_mat_invite_accept_at filters on the platform, writable Date and time the invitation was accepted, or null while it is still pending or for an account never invited.
invite_expired_at varchar2 itgen_mat_invite_expired_at filters on the platform, writable Date and time the pending invitation expires, or null once the account is active or for an account never invited.
invite_status varchar2 itgen_mat_invite_status filters on the platform, writable Account status, for instance 'active' or 'pending'.
invited_by varchar2 itgen_mat_invited_by filters on the platform, writable Login of the account which invited this user, or null for an account created directly through addUser rather than inviteUser.
last_seen varchar2 itgen_mat_last_seen filters on the platform, writable Date and time the account last signed in, or absent for an account which never has - measured 2026-08-28 on Matomo's own 'anonymous' pseudo-account.
last_seen_ago varchar2 itgen_mat_last_seen_ago filters on the platform, writable How long ago the account last signed in, in Matomo's own human-readable text - absent under the same condition as last_seen.
login varchar2 itgen_mat_login filters on the platform, writable Account login: primary key. Matomo's own getUsers() answers it as 'login'; addUser/updateUser/deleteUser all take it as 'userLogin' instead, hence the explicit updatePath. Assigned by the caller on insert, never renamed afterwards - Matomo has no rename-user method.
password varchar2 itgen_mat_password filters on the platform, writable Account password. Required on insert; optional on update, where an empty value leaves the current password unchanged. Never answered on read.
password_confirmation varchar2 itgen_mat_password_confirmation filters on the platform, writable The connected account's own current password - required by Matomo whenever an update changes email or password, ignored otherwise. Never answered on read.
superuser_access int32 itgen_mat_superuser_access filters on the platform, writable 1 if the account has superuser access, 0 otherwise. Read-only on this table: Matomo grants or revokes it through the separate setSuperUserAccess() call, which this driver does not yet wire up (design chapter 7b, deferred).
uses_2fa char itgen_mat_uses_2fa filters on the platform, writable Whether two-factor authentication is enabled for the account.