Create data verifier user
Creates a data verifier user: a person who verifies credentials for your organisation with the Data Verifier mobile app, for example at a front desk. Give a `name` and at least one of `email` and `phone`. No other data verifier user of the organisation can have the same `email` or the same `phone`. The check also compares empty values, so only one user of the organisation can have no e-mail address, and only one user can have no phone number.
List data verifier users
Lists the data verifier users of the organisation, the newest first. A deleted user is not in the list. The `apiKey` of each user is an empty string.
Read data verifier user
Returns a data verifier user of the organisation. The `apiKey` is an empty string.
Update data verifier user
Changes a data verifier user of the organisation. The `name` is required and always replaces the stored name. A non-empty `email` or `phone` replaces the stored value; an empty or missing `email` or `phone` keeps it, so you cannot clear a value with this operation. No other data verifier user of the organisation can have the new `email` or `phone`. The API key of the user does not change. The `apiKey` of the response is an empty string.
Delete data verifier user
Deletes a data verifier user of the organisation. The user can no longer use the Data Verifier app: the API key of the user and an open magic link stop working immediately.
Send magic link to data verifier user
Sends a magic link to a data verifier user: by e-mail to the `email` of the user, and by SMS when the user has a `phone`. The user opens the link on the phone, and the Data Verifier app logs in with it.